#include "wx/checkbox.h"
+#include "gdk/gdk.h"
+#include "gtk/gtk.h"
+
//-----------------------------------------------------------------------------
// data
//-----------------------------------------------------------------------------
{
wxCHECK_RET( m_widget != NULL, "invalid checkbox" );
+ if ( state == GetValue() )
+ return;
+
+ // for compatibility with wxMSW don't send notification when the check box
+ // state is changed programmatically
m_blockFirstEvent = TRUE;
gtk_toggle_button_set_state( GTK_TOGGLE_BUTTON(m_widget), state );