]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/scrolbar.cpp
sorry... forgot to commit these 2 files
[wxWidgets.git] / src / msw / scrolbar.cpp
index 87c52ca2736f9b36bef66be1cf0e12aff8bab3ca..a34df24e6eaf6fb59d19c4955a915a111dab4457 100644 (file)
@@ -55,8 +55,8 @@ bool wxScrollBar::Create(wxWindow *parent, wxWindowID id,
     SetName(name);
        SetValidator(validator);
     
-    SetBackgroundColour(parent->GetDefaultBackgroundColour()) ;
-    SetForegroundColour(parent->GetDefaultForegroundColour()) ;
+    SetBackgroundColour(parent->GetBackgroundColour()) ;
+    SetForegroundColour(parent->GetForegroundColour()) ;
     m_windowStyle = style;
 
   if ( id == -1 )