X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/b1294ada8e87725409f290328da02306e5c8f4eb..6184558583df419ff7830abaf16e7ec40ac00b32:/src/motif/listbox.cpp?ds=inline diff --git a/src/motif/listbox.cpp b/src/motif/listbox.cpp index 3d138f6435..f23c8b7611 100644 --- a/src/motif/listbox.cpp +++ b/src/motif/listbox.cpp @@ -490,7 +490,7 @@ void wxListBoxCallback (Widget WXUNUSED(w), XtPointer clientData, item->DoToggleItem( n, x ); #endif case XmCR_DEFAULT_ACTION: - item->GetEventHandler()->ProcessEvent(event); + item->HandleWindowEvent(event); break; case XmCR_EXTENDED_SELECT: switch (cbs->selection_type) @@ -499,7 +499,7 @@ void wxListBoxCallback (Widget WXUNUSED(w), XtPointer clientData, case XmADDITION: case XmMODIFICATION: item->DoToggleItem( n, x ); - item->GetEventHandler()->ProcessEvent(event); + item->HandleWindowEvent(event); break; } break;