]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/checkbox.cpp
Disable wxUSE_ENH_METAFILE for wxGTK builds.
[wxWidgets.git] / src / msw / checkbox.cpp
index b793c2a589085986c07bf4cc200479047c700c72..6b8963443ab2f9eabbbf25f339c6696272a8df35 100644 (file)
@@ -261,7 +261,7 @@ bool wxCheckBox::MSWCommand(WXUINT cmd, WXWORD WXUNUSED(id))
 
 
     // generate the event
-    wxCommandEvent event(wxEVT_COMMAND_CHECKBOX_CLICKED, m_windowId);
+    wxCommandEvent event(wxEVT_CHECKBOX, m_windowId);
 
     event.SetInt(state);
     event.SetEventObject(this);