From: Julian Smart Date: Thu, 14 Sep 2006 13:17:39 +0000 (+0000) Subject: Fixes bug whereby directory control foreground colour is always black on Windows X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/e195770310becbafdbc07551ebecea91850a80a5?ds=inline Fixes bug whereby directory control foreground colour is always black on Windows git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41211 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/generic/dirctrlg.cpp b/src/generic/dirctrlg.cpp index b9ba4dd4e5..5e1a3ffbfe 100644 --- a/src/generic/dirctrlg.cpp +++ b/src/generic/dirctrlg.cpp @@ -544,6 +544,7 @@ bool wxGenericDirCtrl::Create(wxWindow *parent, return false; SetBackgroundColour(wxSystemSettings::GetColour(wxSYS_COLOUR_3DFACE)); + SetForegroundColour(wxSystemSettings::GetColour(wxSYS_COLOUR_WINDOWTEXT)); Init();