X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/bdeca1d18cfeb8f47f7ca8339636594b6f1595fc..b8d24d4edd1f91339918134d2420af39c324aa1f:/src/motif/scrolbar.cpp?ds=sidebyside diff --git a/src/motif/scrolbar.cpp b/src/motif/scrolbar.cpp index 655353e458..c882178a53 100644 --- a/src/motif/scrolbar.cpp +++ b/src/motif/scrolbar.cpp @@ -13,6 +13,8 @@ #pragma implementation "scrolbar.h" #endif +#include "wx/defs.h" + #include "wx/scrolbar.h" #ifdef __VMS__ @@ -94,7 +96,6 @@ bool wxScrollBar::Create(wxWindow *parent, wxWindowID id, XtAddCallback(scrollBarWidget, XmNtoTopCallback, (XtCallbackProc)wxScrollBarCallback, (XtPointer)this); XtAddCallback(scrollBarWidget, XmNtoBottomCallback, (XtCallbackProc)wxScrollBarCallback, (XtPointer)this); - SetCanAddEventHandler(TRUE); AttachWidget (parent, m_mainWidget, (WXWidget) NULL, x, y, width, height); ChangeBackgroundColour();