adapting to latest API
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33916 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -1603,7 +1603,7 @@ void wxDC::Clear(void)
|
|||||||
#if MAC_OS_X_VERSION_MAX_ALLOWED >= MAC_OS_X_VERSION_10_4
|
#if MAC_OS_X_VERSION_MAX_ALLOWED >= MAC_OS_X_VERSION_10_4
|
||||||
if ( HIThemeSetFill != 0 )
|
if ( HIThemeSetFill != 0 )
|
||||||
{
|
{
|
||||||
HIThemeSetFill( m_backgroundBrush.MacGetTheme() , cg ) ;
|
HIThemeSetFill( m_backgroundBrush.MacGetTheme() , NULL , cg , kHIThemeOrientationNormal ) ;
|
||||||
CGContextFillRect(cg, rect);
|
CGContextFillRect(cg, rect);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user