]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/wincmn.cpp
Fixed resize behaviour under certain circumstances.
[wxWidgets.git] / src / common / wincmn.cpp
index 25925b61339c43d19f3a9e06dcaffb76b3219587..d545072003f5bf9c87ebffc0eb103e48e5a1adf2 100644 (file)
@@ -118,7 +118,9 @@ void wxWindowBase::InitBase()
     wxSystemSettings settings;
 
     m_backgroundColour = settings.GetSystemColour(wxSYS_COLOUR_BTNFACE);
-    m_foregroundColour = *wxBLACK;  // TODO take this from sys settings too?
+    // m_foregroundColour = *wxBLACK;  // TODO take this from sys settings too?
+    m_foregroundColour = wxSystemSettings::GetSystemColour(wxSYS_COLOUR_WINDOWTEXT);
+
 #if !defined(__WXMAC__) && !defined(__WXGTK__)
     m_font = *wxSWISS_FONT;         //      and this?
 #else