]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/gauge95.cpp
drawing optimization fix
[wxWidgets.git] / src / msw / gauge95.cpp
index cd6e0902f4d67c0909c0b11aa7f41f644021958a..e48513d6808526355d317f6919f6b7437f8619e8 100644 (file)
@@ -52,8 +52,8 @@ bool wxGauge95::Create(wxWindow *parent, wxWindowID id,
   m_rangeMax = range;
   m_gaugePos = 0;
 
-  SetBackgroundColour(parent->GetDefaultBackgroundColour()) ;
-  SetForegroundColour(parent->GetDefaultForegroundColour()) ;
+  SetBackgroundColour(parent->GetBackgroundColour()) ;
+  SetForegroundColour(parent->GetForegroundColour()) ;
 
   m_windowStyle = style;