removed wrong bg colour handling code

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28045 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Václav Slavík 2004-06-27 22:16:40 +00:00
parent 67c276bdb6
commit 53fbce27ba
2 changed files with 0 additions and 16 deletions

View File

@ -1416,14 +1416,6 @@ bool wxTextCtrl::SetBackgroundColour( const wxColour &colour )
if (!m_widget->window)
return FALSE;
wxColour sysbg = wxSystemSettings::GetColour( wxSYS_COLOUR_BTNFACE );
if (sysbg.Red() == colour.Red() &&
sysbg.Green() == colour.Green() &&
sysbg.Blue() == colour.Blue())
{
return FALSE; // FIXME or TRUE?
}
if (!m_backgroundColour.Ok())
return FALSE;

View File

@ -1416,14 +1416,6 @@ bool wxTextCtrl::SetBackgroundColour( const wxColour &colour )
if (!m_widget->window)
return FALSE;
wxColour sysbg = wxSystemSettings::GetColour( wxSYS_COLOUR_BTNFACE );
if (sysbg.Red() == colour.Red() &&
sysbg.Green() == colour.Green() &&
sysbg.Blue() == colour.Blue())
{
return FALSE; // FIXME or TRUE?
}
if (!m_backgroundColour.Ok())
return FALSE;