]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk1/button.cpp
Make wxRichTextRectArray usable by other parts of wxRTC
[wxWidgets.git] / src / gtk1 / button.cpp
index cbcf71028c679cf164bc15cb9cd51a17cc4f6df2..a414ecfa4ee1177b4053250731d5409fcc2a4be3 100644 (file)
@@ -2,7 +2,6 @@
 // Name:        src/gtk1/button.cpp
 // Purpose:
 // Author:      Robert Roebling
-// Id:          $Id$
 // Copyright:   (c) 1998 Robert Roebling
 // Licence:     wxWindows licence
 /////////////////////////////////////////////////////////////////////////////
@@ -53,7 +52,7 @@ static void gtk_button_clicked_callback( GtkWidget *WXUNUSED(widget), wxButton *
     if (!button->m_hasVMT) return;
     if (g_blockEventsOnDrag) return;
 
-    wxCommandEvent event(wxEVT_COMMAND_BUTTON_CLICKED, button->GetId());
+    wxCommandEvent event(wxEVT_BUTTON, button->GetId());
     event.SetEventObject(button);
     button->HandleWindowEvent(event);
 }