translating background style BG_PAINT into opaqueness for speed-up of OS redraws, supporting positioning for native carbon controls also on non-composited windows (custom pane in navservices dialogs)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@63988 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Stefan Csomor
2010-04-16 06:18:16 +00:00
parent 7f2468e96a
commit bc5c09a3aa
7 changed files with 74 additions and 2 deletions

View File

@@ -472,6 +472,16 @@ bool wxWindowMac::SetForegroundColour(const wxColour& col )
return retval;
}
bool wxWindowMac::SetBackgroundStyle(wxBackgroundStyle style)
{
if ( !wxWindowBase::SetBackgroundStyle(style) )
return false;
if ( m_peer )
m_peer->SetBackgroundStyle(style);
return true;
}
bool wxWindowMac::SetBackgroundColour(const wxColour& col )
{
if (m_growBox)