]> git.saurik.com Git - wxWidgets.git/blobdiff - src/motif/scrolbar.cpp
1. more keyboard navigation fixes - seems to work now
[wxWidgets.git] / src / motif / scrolbar.cpp
index c1ab7edb9f876cbdfdf44fccfa9620c73ed5f171..5bd38a4ee53ba900df16bfffcca865c922f3a842 100644 (file)
@@ -161,6 +161,10 @@ void wxScrollBar::ChangeFont(bool keepOriginalSize)
 void wxScrollBar::ChangeBackgroundColour()
 {
     wxWindow::ChangeBackgroundColour();
+
+    XtVaSetValues ((Widget) GetMainWidget(),
+        XmNtroughColor, m_backgroundColour.AllocColour(XtDisplay((Widget) GetMainWidget())),
+        NULL);
 }
 
 void wxScrollBar::ChangeForegroundColour()