]> git.saurik.com Git - wxWidgets.git/blobdiff - src/cocoa/button.mm
missing commit
[wxWidgets.git] / src / cocoa / button.mm
index 1ef4130155e300af9ceeee5fb62e9f4d9877b6df..a78e3b6c590817d2db9b5e249922c3f3972810e6 100644 (file)
@@ -79,7 +79,7 @@ wxButton::~wxButton()
 void wxButton::Cocoa_wxNSButtonAction(void)
 {
     wxLogTrace(wxTRACE_COCOA,wxT("YAY!"));
-    wxCommandEvent event(wxEVT_COMMAND_BUTTON_CLICKED, GetId());
+    wxCommandEvent event(wxEVT_BUTTON, GetId());
     InitCommandEvent(event); //    event.SetEventObject(this);
     Command(event);
 }