]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/spinbutt.cpp
sorry... forgot to commit these 2 files
[wxWidgets.git] / src / msw / spinbutt.cpp
index a34bd654c4afac8672f00ea0f98b46ca34978baa..56d537619e8380f03866f7bfd1059bf8505f75f6 100644 (file)
@@ -47,8 +47,8 @@ bool wxSpinButton::Create(wxWindow *parent, wxWindowID id, const wxPoint& pos, c
             long style, const wxString& name)
 {
   wxSystemSettings settings;
-  m_backgroundColour = parent->GetDefaultBackgroundColour() ;
-  m_foregroundColour = parent->GetDefaultForegroundColour() ;
+  m_backgroundColour = parent->GetBackgroundColour() ;
+  m_foregroundColour = parent->GetForegroundColour() ;
 
   SetName(name);