yet another fix for wxTextCtrl bg colour (patch 462838)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11720 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2001-09-28 14:33:54 +00:00
parent 551adc4b47
commit 6c5ac6e1f1
2 changed files with 2 additions and 8 deletions

View 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 );