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:
@@ -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 );
|
||||
|
Reference in New Issue
Block a user