]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/slidrmsw.cpp
Changed the event handling to use events, instead of just virtual functions.
[wxWidgets.git] / src / msw / slidrmsw.cpp
index f8a6f33e2a96720962af26279185d5d53b959b0b..cd2b47760c11e35ac5c3c2439e78d4f6f64414cd 100644 (file)
@@ -62,8 +62,8 @@ bool wxSliderMSW::Create(wxWindow *parent, wxWindowID id,
   SetValidator(validator);
 
   if (parent) parent->AddChild(this);
-  SetBackgroundColour(parent->GetDefaultBackgroundColour()) ;
-  SetForegroundColour(parent->GetDefaultForegroundColour()) ;
+  SetBackgroundColour(parent->GetBackgroundColour()) ;
+  SetForegroundColour(parent->GetForegroundColour()) ;
 
   m_staticValue = 0;
   m_staticMin = 0;