]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk/radiobut.cpp
don't compare invalid iterators/node pointers
[wxWidgets.git] / src / gtk / radiobut.cpp
index 6c8e0b91e3528b7fc32932a67099818263dfcd05..cf56a75187a830d7dbffc1cd856a93713084b945 100644 (file)
 
 #include "wx/gtk/private.h"
 
-//-----------------------------------------------------------------------------
-// idle system
-//-----------------------------------------------------------------------------
-
-extern void wxapp_install_idle_handler();
-extern bool g_isIdle;
-
 //-----------------------------------------------------------------------------
 // data
 //-----------------------------------------------------------------------------
@@ -103,7 +96,7 @@ bool wxRadioButton::Create( wxWindow *parent,
         if (chief)
         {
             // we are part of the group started by chief
-            radioButtonGroup = gtk_radio_button_group( GTK_RADIO_BUTTON(chief->m_widget) );
+            radioButtonGroup = gtk_radio_button_get_group( GTK_RADIO_BUTTON(chief->m_widget) );
         }
     }