X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/e7478376f1274fb462443ad911647e65e76f3bd8..12bb29f5432174ecbd65549bda832d70d34a98ae:/src/msw/wince/checklst.cpp?ds=sidebyside diff --git a/src/msw/wince/checklst.cpp b/src/msw/wince/checklst.cpp index 9cfd3541d6..067969cbe1 100644 --- a/src/msw/wince/checklst.cpp +++ b/src/msw/wince/checklst.cpp @@ -343,14 +343,14 @@ bool wxCheckListBox::MSWOnNotify(int idCtrl, WXLPARAM lParam, WXLPARAM *result) // Check image changed if ((stOld & LVIS_STATEIMAGEMASK) != (stNew & LVIS_STATEIMAGEMASK)) { - event.SetEventType(wxEVT_COMMAND_CHECKLISTBOX_TOGGLED); + event.SetEventType(wxEVT_CHECKLISTBOX); event.SetInt(IsChecked(iItem)); (void) GetEventHandler()->ProcessEvent(event); } if ( (stNew & LVIS_SELECTED) != (stOld & LVIS_SELECTED) ) { - eventType = wxEVT_COMMAND_LISTBOX_SELECTED; + eventType = wxEVT_LISTBOX; event.SetExtraLong( (stNew & LVIS_SELECTED) != 0 ); // is a selection event.SetInt(iItem);