diff --git a/mozilla/widget/src/windows/nsRadioGroup.cpp b/mozilla/widget/src/windows/nsRadioGroup.cpp index 9a8310ba7ff..cfda286fb18 100644 --- a/mozilla/widget/src/windows/nsRadioGroup.cpp +++ b/mozilla/widget/src/windows/nsRadioGroup.cpp @@ -236,7 +236,7 @@ NS_METHOD nsRadioGroup::Remove(nsIRadioButton * aChild) nsIEnumerator* nsRadioGroup::GetChildren() { if (mChildren) { - mChildren->Reset(); + mChildren->Fist(); NS_ADDREF(mChildren); return mChildren; } @@ -376,17 +376,6 @@ nsRadioGroup::Enumerator::IsDone(PRBool *aDone) } -//------------------------------------------------------------------------- -// -// Reset enumerator internal pointer to the beginning -// -//------------------------------------------------------------------------- -void nsRadioGroup::Enumerator::Reset() -{ - mCurrentPosition = 0; -} - - //------------------------------------------------------------------------- // // Append an element