#ifdef __VMS__
#pragma message disable nosimpint
-#define XtDisplay XTDISPLAY
#endif
#include <Xm/Xm.h>
#include <Xm/ScrollBar.h>
XmScaleCallbackStruct *cbs)
{
wxScrollBar *scrollBar = (wxScrollBar*)wxGetWindowFromTable(widget);
- wxCHECK_RET( scrollBar, _T("invalid widget in scrollbar callback") );
+ wxCHECK_RET( scrollBar, wxT("invalid widget in scrollbar callback") );
wxOrientation orientation = (wxOrientation)wxPtrToUInt(clientData);
wxEventType eventType = wxEVT_NULL;
wxScrollEvent event(eventType, scrollBar->GetId(),
cbs->value, orientation);
event.SetEventObject(scrollBar);
- scrollBar->GetEventHandler()->ProcessEvent(event);
+ scrollBar->HandleWindowEvent(event);
}