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