X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/8e19598f7fb35ba2aeed3d672d4c7c5cfed0cbf6..3d777efedc1e05bd6c2a7c34a00a65895b62bb13:/src/osx/listbox_osx.cpp?ds=inline diff --git a/src/osx/listbox_osx.cpp b/src/osx/listbox_osx.cpp index a6e8b51418..c48607ea5a 100644 --- a/src/osx/listbox_osx.cpp +++ b/src/osx/listbox_osx.cpp @@ -4,7 +4,6 @@ // Author: Stefan Csomor // Modified by: // Created: 1998-01-01 -// RCS-ID: $Id$ // Copyright: (c) Stefan Csomor // Licence: wxWindows licence /////////////////////////////////////////////////////////////////////////////// @@ -393,8 +392,8 @@ void wxListBox::SetString(unsigned int n, const wxString& s) void wxListBox::HandleLineEvent( unsigned int n, bool doubleClick ) { - wxCommandEvent event( doubleClick ? wxEVT_COMMAND_LISTBOX_DOUBLECLICKED : - wxEVT_COMMAND_LISTBOX_SELECTED, GetId() ); + wxCommandEvent event( doubleClick ? wxEVT_LISTBOX_DCLICK : + wxEVT_LISTBOX, GetId() ); event.SetEventObject( this ); if ( HasClientObjectData() ) event.SetClientObject( GetClientObject(n) );