]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk/checkbox.cpp
reSWIGged
[wxWidgets.git] / src / gtk / checkbox.cpp
index 93a9ed2c88bc27c183f1416dfd95cdce4e9824c6..4dd5333334043e8bda62556aef214607b782bbe5 100644 (file)
 
 #include "wx/gtk/private.h"
 
-//-----------------------------------------------------------------------------
-// idle system
-//-----------------------------------------------------------------------------
-
-extern void wxapp_install_idle_handler();
-extern bool g_isIdle;
-
 //-----------------------------------------------------------------------------
 // data
 //-----------------------------------------------------------------------------
@@ -180,7 +173,7 @@ void wxCheckBox::SetValue( bool state )
 
     m_blockEvent = TRUE;
 
-    gtk_toggle_button_set_state( GTK_TOGGLE_BUTTON(m_widgetCheckbox), state );
+    gtk_toggle_button_set_active( GTK_TOGGLE_BUTTON(m_widgetCheckbox), state );
 
     m_blockEvent = FALSE;
 }