fixes for handling WM_SYSCOLORCHANGE - now seems to work

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12922 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2001-12-08 00:26:30 +00:00
parent b32a1ead44
commit 23895080c2
6 changed files with 43 additions and 57 deletions

View File

@@ -938,40 +938,6 @@ wxRect wxWindow::ScrollNoRefresh(int dx, int dy, const wxRect *rectTotal)
return rect;
}
// ----------------------------------------------------------------------------
// colours/fonts
// ----------------------------------------------------------------------------
bool wxWindow::SetBackgroundColour(const wxColour& colour)
{
if ( !wxWindowNative::SetBackgroundColour(colour) )
return FALSE;
m_hasBgCol = TRUE;
return TRUE;
}
bool wxWindow::SetForegroundColour(const wxColour& colour)
{
if ( !wxWindowNative::SetForegroundColour(colour) )
return FALSE;
m_hasFgCol = TRUE;
return TRUE;
}
bool wxWindow::SetFont(const wxFont& font)
{
if ( !wxWindowNative::SetFont(font) )
return FALSE;
m_hasFont = TRUE;
return TRUE;
}
// ----------------------------------------------------------------------------
// mouse capture
// ----------------------------------------------------------------------------