X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/34138703c3997ce676a1e713d9ff9eb020640da7..e2de9433471c3b5291dcf2773dadc34b308c7b14:/src/stubs/stattext.cpp diff --git a/src/stubs/stattext.cpp b/src/stubs/stattext.cpp index a1275b8bdc..3b19c7184d 100644 --- a/src/stubs/stattext.cpp +++ b/src/stubs/stattext.cpp @@ -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;