]> git.saurik.com Git - wxWidgets.git/blobdiff - src/mac/carbon/radiobut.cpp
PCH support.
[wxWidgets.git] / src / mac / carbon / radiobut.cpp
index 6ecc2657bc0a9f4b9e7c682adf49354bc06e3b03..5a83609f27cf2c7daafcf33f3ec8647993e1cb2a 100644 (file)
@@ -143,7 +143,7 @@ wxInt32 wxRadioButton::MacControlHit( WXEVENTHANDLERREF WXUNUSED(handler), WXEVE
 
 wxRadioButton *wxRadioButton::AddInCycle(wxRadioButton *cycle)
 {
-    wxRadioButton *next, *current;
+    wxRadioButton *current;
 
     if (cycle == NULL)
     {
@@ -152,7 +152,7 @@ wxRadioButton *wxRadioButton::AddInCycle(wxRadioButton *cycle)
     else
     {
         current = cycle;
-        while ((next = current->m_cycle) != cycle)
+        while (current->m_cycle != cycle)
             current = current->m_cycle;
 
         m_cycle = cycle;