]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk/button.cpp
check that the version of __sync_sub_and_fetch that returns a value is supported...
[wxWidgets.git] / src / gtk / button.cpp
index 12e0807e50d8132e6e46f1e95c98a6fc9591e603..cfa49892f79a8f5a4ae4693ce8ab688f84742e96 100644 (file)
@@ -44,7 +44,7 @@ static void gtk_button_clicked_callback( GtkWidget *WXUNUSED(widget), wxButton *
 
     wxCommandEvent event(wxEVT_COMMAND_BUTTON_CLICKED, button->GetId());
     event.SetEventObject(button);
-    button->GetEventHandler()->ProcessEvent(event);
+    button->HandleWindowEvent(event);
 }
 }