]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk/tglbtn.cpp
check that the version of __sync_sub_and_fetch that returns a value is supported...
[wxWidgets.git] / src / gtk / tglbtn.cpp
index 734b351d26ba5ea7f32c2548fdf3855ad070aae1..120e9d75fad6cf455e5865b2bfc97113917ef232 100644 (file)
@@ -37,7 +37,7 @@ static void gtk_togglebutton_clicked_callback(GtkWidget *WXUNUSED(widget), wxTog
     wxCommandEvent event(wxEVT_COMMAND_TOGGLEBUTTON_CLICKED, cb->GetId());
     event.SetInt(cb->GetValue());
     event.SetEventObject(cb);
-    cb->GetEventHandler()->ProcessEvent(event);
+    cb->HandleWindowEvent(event);
 }
 }