]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk/button.cpp
update GTK size hints when window decorations change
[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);
 }
 }