From 44945155f00a66fdb2f526f0fe1f3118be4e8a20 Mon Sep 17 00:00:00 2001 From: "mjudge%netscape.com" Date: Tue, 1 Dec 1998 20:20:40 +0000 Subject: [PATCH] fixing bug in windows code for build git-svn-id: svn://10.0.0.236/trunk@15546 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/widget/src/windows/nsRadioGroup.cpp | 13 +------------ 1 file changed, 1 insertion(+), 12 deletions(-) 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