]> git.saurik.com Git - wxWidgets.git/commitdiff
Fixes bug whereby directory control foreground colour is always black on Windows
authorJulian Smart <julian@anthemion.co.uk>
Thu, 14 Sep 2006 13:17:39 +0000 (13:17 +0000)
committerJulian Smart <julian@anthemion.co.uk>
Thu, 14 Sep 2006 13:17:39 +0000 (13:17 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41211 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/generic/dirctrlg.cpp

index b9ba4dd4e555373220d2a73b545c22e7fc22d6fd..5e1a3ffbfe78a2978439c61959f935ba7f91d98c 100644 (file)
@@ -544,6 +544,7 @@ bool wxGenericDirCtrl::Create(wxWindow *parent,
         return false;
 
     SetBackgroundColour(wxSystemSettings::GetColour(wxSYS_COLOUR_3DFACE));
+    SetForegroundColour(wxSystemSettings::GetColour(wxSYS_COLOUR_WINDOWTEXT));
 
     Init();