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