X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/f78b3d1fc09db60a1b06d7be92bc971f303d579b..43c42c18d36c703a88b1b7b697bac27fe5608eca:/src/msw/listbox.cpp diff --git a/src/msw/listbox.cpp b/src/msw/listbox.cpp index 9f9720f39a..e8191c5a55 100644 --- a/src/msw/listbox.cpp +++ b/src/msw/listbox.cpp @@ -586,7 +586,7 @@ bool wxListBox::MSWCommand(WXUINT param, WXWORD WXUNUSED(id)) if ( HasMultipleSelection() ) return CalcAndSendEvent(); - evtType = wxEVT_COMMAND_LISTBOX_SELECTED; + evtType = wxEVT_LISTBOX; } else if ( param == LBN_DBLCLK ) { @@ -598,7 +598,7 @@ bool wxListBox::MSWCommand(WXUINT param, WXWORD WXUNUSED(id)) if ( HitTest(ScreenToClient(pt)) == wxNOT_FOUND ) return false; - evtType = wxEVT_COMMAND_LISTBOX_DOUBLECLICKED; + evtType = wxEVT_LISTBOX_DCLICK; } else {