#include "wx/arrstr.h"
#endif
-#ifdef __VMS
-#define XtParent XTPARENT
-#define XtDisplay XTDISPLAY
-#endif
-
#ifdef __VMS__
#pragma message disable nosimpint
#endif
#endif
#include "wx/motif/private.h"
- IMPLEMENT_DYNAMIC_CLASS(wxListBox, wxControl)
+IMPLEMENT_DYNAMIC_CLASS(wxListBox, wxControlWithItems)
static void wxListBoxCallback(Widget 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)
case XmADDITION:
case XmMODIFICATION:
item->DoToggleItem( n, x );
- item->GetEventHandler()->ProcessEvent(event);
+ item->HandleWindowEvent(event);
break;
}
break;