]> git.saurik.com Git - wxWidgets.git/blobdiff - src/stubs/stattext.cpp
some very minor changes
[wxWidgets.git] / src / stubs / stattext.cpp
index a1275b8bdcee3f075aabcd32f198554edfc7bca0..3b19c7184dbe9748fbb2adba56d8cd2f840134dc 100644 (file)
@@ -32,8 +32,8 @@ bool wxStaticText::Create(wxWindow *parent, wxWindowID id,
   SetName(name);
   if (parent) parent->AddChild(this);
 
-  SetBackgroundColour(parent->GetDefaultBackgroundColour()) ;
-  SetForegroundColour(parent->GetDefaultForegroundColour()) ;
+  SetBackgroundColour(parent->GetBackgroundColour()) ;
+  SetForegroundColour(parent->GetForegroundColour()) ;
 
   if ( id == -1 )
        m_windowId = (int)NewControlId();
@@ -42,7 +42,7 @@ bool wxStaticText::Create(wxWindow *parent, wxWindowID id,
 
   m_windowStyle = style;
 
-  SetFont(parent->GetFont());
+  SetFont(parent->GetFont());
 
   // TODO
   return FALSE;