]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk1/button.cpp
support for @2x notation for wxBITMAP_TYPE_PNG (non-resource) on retina displays
[wxWidgets.git] / src / gtk1 / button.cpp
index cbcf71028c679cf164bc15cb9cd51a17cc4f6df2..3ff3a2424182f5ea48aaa8b1269aa5868321d4b8 100644 (file)
@@ -53,7 +53,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);
 }