]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk1/treectrl.cpp
no message
[wxWidgets.git] / src / gtk1 / treectrl.cpp
index 4742ab7a79e1deb54efa1bada5fd7c8a91644220..69d424f523c32c1b9adeda68147fa410427fa70c 100644 (file)
@@ -127,7 +127,7 @@ bool wxTreeCtrl::Create(wxWindow *parent, wxWindowID id, const wxPoint& pos, con
 
   wxSystemSettings settings;
   SetBackgroundColour(settings.GetSystemColour(wxSYS_COLOUR_WINDOW));
 
   wxSystemSettings settings;
   SetBackgroundColour(settings.GetSystemColour(wxSYS_COLOUR_WINDOW));
-  SetForegroundColour(parent->GetDefaultForegroundColour());
+  SetForegroundColour(parent->GetForegroundColour());
 
   SetName(name);
   SetValidator(validator);
 
   SetName(name);
   SetValidator(validator);