]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk1/button.cpp
Eliminated two unneeded arguments from wxPropertyGrid::DoDrawItems()
[wxWidgets.git] / src / gtk1 / button.cpp
index 6d71384052e2ba9125e6569788c95ec7ce375673..a388cc3474b0e5a4e11eee80640d772af16f6fda 100644 (file)
@@ -55,7 +55,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);
 }
 }