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:
@@ -637,6 +637,8 @@ bool wxWindowBase::SetBackgroundColour( const wxColour &colour )
|
||||
|
||||
m_backgroundColour = colour;
|
||||
|
||||
m_hasBgCol = TRUE;
|
||||
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
@@ -647,6 +649,8 @@ bool wxWindowBase::SetForegroundColour( const wxColour &colour )
|
||||
|
||||
m_foregroundColour = colour;
|
||||
|
||||
m_hasFgCol = TRUE;
|
||||
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
@@ -678,6 +682,8 @@ bool wxWindowBase::SetFont(const wxFont& font)
|
||||
|
||||
m_font = fontOk;
|
||||
|
||||
m_hasFont = TRUE;
|
||||
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user