]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk1/button.cpp
Merge in from trunk r64802 - r68625
[wxWidgets.git] / src / gtk1 / button.cpp
index 6d71384052e2ba9125e6569788c95ec7ce375673..cbcf71028c679cf164bc15cb9cd51a17cc4f6df2 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);
 
     wxCommandEvent event(wxEVT_COMMAND_BUTTON_CLICKED, button->GetId());
     event.SetEventObject(button);
-    button->GetEventHandler()->ProcessEvent(event);
+    button->HandleWindowEvent(event);
 }
 }
 
 }
 }
 
@@ -94,8 +94,6 @@ gtk_button_style_set_callback( GtkWidget *m_widget, GtkStyle *WXUNUSED(style), w
 // wxButton
 //-----------------------------------------------------------------------------
 
 // wxButton
 //-----------------------------------------------------------------------------
 
-IMPLEMENT_DYNAMIC_CLASS(wxButton,wxControl)
-
 wxButton::wxButton()
 {
 }
 wxButton::wxButton()
 {
 }