]> git.saurik.com Git - wxWidgets.git/blobdiff - src/univ/button.cpp
Applied patch #15183 (wxRichTextTable::DeleteColumns doesn't remove the deleted colum...
[wxWidgets.git] / src / univ / button.cpp
index 7f4c253d1431f6ca05a1b0909ceb692322cc914c..77f2d79c71fa93cd9b4db80f7d242d1ebf1031b2 100644 (file)
@@ -278,7 +278,7 @@ void wxButton::Toggle()
 
 void wxButton::Click()
 {
-    wxCommandEvent event(wxEVT_COMMAND_BUTTON_CLICKED, GetId());
+    wxCommandEvent event(wxEVT_BUTTON, GetId());
     InitCommandEvent(event);
     Command(event);
 }