X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/c89a610604d7ea7b9af147c71f4b3df5e6f0dfc5..520e470fdd0daef09c77938db642e4583933c90d:/src/gtk1/treectrl.cpp diff --git a/src/gtk1/treectrl.cpp b/src/gtk1/treectrl.cpp index 4742ab7a79..69d424f523 100644 --- a/src/gtk1/treectrl.cpp +++ b/src/gtk1/treectrl.cpp @@ -127,7 +127,7 @@ bool wxTreeCtrl::Create(wxWindow *parent, wxWindowID id, const wxPoint& pos, con wxSystemSettings settings; SetBackgroundColour(settings.GetSystemColour(wxSYS_COLOUR_WINDOW)); - SetForegroundColour(parent->GetDefaultForegroundColour()); + SetForegroundColour(parent->GetForegroundColour()); SetName(name); SetValidator(validator);