X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/289532452089421ddadbd4726a8469511a19ab76..12bb29f5432174ecbd65549bda832d70d34a98ae:/src/os2/checkbox.cpp?ds=inline diff --git a/src/os2/checkbox.cpp b/src/os2/checkbox.cpp index 5462a84f7a..eec401f3f1 100644 --- a/src/os2/checkbox.cpp +++ b/src/os2/checkbox.cpp @@ -44,7 +44,7 @@ extern void wxAssociateWinWithHandle( HWND hWnd bool wxCheckBox::OS2Command( WXUINT WXUNUSED(uParam), WXWORD WXUNUSED(wId) ) { - wxCommandEvent rEvent( wxEVT_COMMAND_CHECKBOX_CLICKED, m_windowId ); + wxCommandEvent rEvent( wxEVT_CHECKBOX, m_windowId ); rEvent.SetInt(GetValue()); rEvent.SetEventObject(this); ProcessCommand(rEvent);