]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk1/textctrl.cpp
corrected wxGetWorkingDirectory for mac (stripping last char off)
[wxWidgets.git] / src / gtk1 / textctrl.cpp
index 35de57809a7bc4356f3516b039bcc9ad03596a7f..ec25530e465011016aea9312311fc8f97e34aa4a 100644 (file)
@@ -325,10 +325,7 @@ bool wxTextCtrl::Create( wxWindow *parent,
 
     m_cursor = wxCursor( wxCURSOR_IBEAM );
 
-    // FIXME: is the bg colour correct here?
-    wxTextAttr attrDef( colFg,
-                        wxSystemSettings::GetSystemColour(wxSYS_COLOUR_WINDOW),
-                        parent->GetFont() );
+    wxTextAttr attrDef( colFg, m_backgroundColour, parent->GetFont() );
     SetDefaultStyle( attrDef );
 
     Show( TRUE );