X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/f78b3d1fc09db60a1b06d7be92bc971f303d579b..0d1903dbda864780eec30efdc4e91776bdbfd21b:/src/msw/listbox.cpp diff --git a/src/msw/listbox.cpp b/src/msw/listbox.cpp index 9f9720f39a..e0f34e3637 100644 --- a/src/msw/listbox.cpp +++ b/src/msw/listbox.cpp @@ -4,7 +4,6 @@ // Author: Julian Smart // Modified by: Vadim Zeitlin (owner drawn stuff) // Created: -// RCS-ID: $Id$ // Copyright: (c) Julian Smart // Licence: wxWindows licence /////////////////////////////////////////////////////////////////////////////// @@ -586,7 +585,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 +597,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 {