]> git.saurik.com Git - wxWidgets.git/blobdiff - src/motif/slider.cpp
Partially applied patch [ 763900 ] fix for vertical toolbar
[wxWidgets.git] / src / motif / slider.cpp
index 0cf3134f88cea3bce325046c1ddc05b91731cf2a..69d6efb92ce8cf0a31e75755f8ee0bdd8dc44a0f 100644 (file)
@@ -104,7 +104,6 @@ bool wxSlider::Create(wxWindow *parent, wxWindowID id,
     XtAddCallback (sliderWidget, XmNdragCallback, (XtCallbackProc) wxSliderCallback, (XtPointer) this);
 
     ChangeFont(FALSE);
-    SetCanAddEventHandler(TRUE);
     AttachWidget (parent, m_mainWidget, (WXWidget) NULL, pos.x, pos.y, size.x, size.y);
 
     ChangeBackgroundColour();