]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/button.cpp
Disable wxUSE_ENH_METAFILE for wxGTK builds.
[wxWidgets.git] / src / msw / button.cpp
index 324803e4d8f724f0e2fcaa7d0ecf36e06fafc3aa..fc6793855fffb253c6ab6faaf515096333efdfce 100644 (file)
@@ -360,7 +360,7 @@ wxButton::SetDefaultStyle(wxButton *btn, bool on)
 
 bool wxButton::SendClickEvent()
 {
 
 bool wxButton::SendClickEvent()
 {
-    wxCommandEvent event(wxEVT_COMMAND_BUTTON_CLICKED, GetId());
+    wxCommandEvent event(wxEVT_BUTTON, GetId());
     event.SetEventObject(this);
 
     return ProcessCommand(event);
     event.SetEventObject(this);
 
     return ProcessCommand(event);