]> git.saurik.com Git - wxWidgets.git/blobdiff - src/motif/scrolbar.cpp
correct radio button best size calculation under CE (was too small by 1 pixel vertica...
[wxWidgets.git] / src / motif / scrolbar.cpp
index 9c35d48ea3cbb704a5227b7301412ee7acc08266..587be3ca89c15c7acafdeed8b6a333ee20f1e0f6 100644 (file)
@@ -16,7 +16,6 @@
 
 #ifdef __VMS__
 #pragma message disable nosimpint
 
 #ifdef __VMS__
 #pragma message disable nosimpint
-#define XtDisplay XTDISPLAY
 #endif
 #include <Xm/Xm.h>
 #include <Xm/ScrollBar.h>
 #endif
 #include <Xm/Xm.h>
 #include <Xm/ScrollBar.h>
@@ -184,5 +183,5 @@ static void wxScrollBarCallback(Widget widget, XtPointer clientData,
     wxScrollEvent event(eventType, scrollBar->GetId(),
                         cbs->value, orientation);
     event.SetEventObject(scrollBar);
     wxScrollEvent event(eventType, scrollBar->GetId(),
                         cbs->value, orientation);
     event.SetEventObject(scrollBar);
-    scrollBar->GetEventHandler()->ProcessEvent(event);
+    scrollBar->HandleWindowEvent(event);
 }
 }