]> git.saurik.com Git - wxWidgets.git/blobdiff - src/osx/checkbox_osx.cpp
Use [DOMRange markupString] to get selection source.
[wxWidgets.git] / src / osx / checkbox_osx.cpp
index e45c547eabb633ef3f5ea8758a4357cfba1d3970..c82b404313dbf86ac1066eed3f00825571387550 100644 (file)
@@ -128,7 +128,7 @@ bool wxCheckBox::OSXHandleClicked( double WXUNUSED(timestampsec) )
     
     if (sendEvent)
     {
-        wxCommandEvent event( wxEVT_COMMAND_CHECKBOX_CLICKED, m_windowId );
+        wxCommandEvent event( wxEVT_CHECKBOX, m_windowId );
         event.SetInt( newState );
         event.SetEventObject( this );
         ProcessCommand( event );