X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/906c935a80b10d53cecf57f71ab5f3f4f1d529ec..76e7cfab8fdb0c7862fd07e427af54181717fc62:/src/motif/listbox.cpp diff --git a/src/motif/listbox.cpp b/src/motif/listbox.cpp index da952a3627..c4d601a800 100644 --- a/src/motif/listbox.cpp +++ b/src/motif/listbox.cpp @@ -4,7 +4,6 @@ // Author: Julian Smart // Modified by: // Created: 17/09/98 -// RCS-ID: $Id$ // Copyright: (c) Julian Smart // Licence: wxWindows licence /////////////////////////////////////////////////////////////////////////////// @@ -452,9 +451,9 @@ void wxListBoxCallback (Widget WXUNUSED(w), XtPointer clientData, wxEventType evtType; if( cbs->reason == XmCR_DEFAULT_ACTION ) - evtType = wxEVT_COMMAND_LISTBOX_DOUBLECLICKED; + evtType = wxEVT_LISTBOX_DCLICK; else - evtType = wxEVT_COMMAND_LISTBOX_SELECTED; + evtType = wxEVT_LISTBOX; int n = cbs->item_position - 1; wxCommandEvent event (evtType, item->GetId());