]> git.saurik.com Git - wxWidgets.git/blobdiff - src/univ/button.cpp
Add doc for wxGraphicsContext.Create(), which is a lightweight context with no target...
[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);
 }