allowing 10.2 based compiles
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33190 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -2428,10 +2428,12 @@ void wxWindowMac::ScrollWindow(int dx, int dy, const wxRect *rect)
|
|||||||
#else
|
#else
|
||||||
// this would be the preferred version for fast drawing controls
|
// this would be the preferred version for fast drawing controls
|
||||||
|
|
||||||
if( UMAGetSystemVersion() < 0x1030 || !m_peer->IsCompositing() )
|
#if MAC_OS_X_VERSION_MAX_ALLOWED >= MAC_OS_X_VERSION_10_3
|
||||||
Update() ;
|
if( UMAGetSystemVersion() >= 0x1030 && m_peer->IsCompositing() )
|
||||||
else
|
|
||||||
HIViewRender(m_peer->GetControlRef()) ;
|
HIViewRender(m_peer->GetControlRef()) ;
|
||||||
|
else
|
||||||
|
#endif
|
||||||
|
Update() ;
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
// as the native control might be not a 0/0 wx window coordinates, we have to offset
|
// as the native control might be not a 0/0 wx window coordinates, we have to offset
|
||||||
@@ -2446,10 +2448,13 @@ void wxWindowMac::ScrollWindow(int dx, int dy, const wxRect *rect)
|
|||||||
#else
|
#else
|
||||||
// this would be the preferred version for fast drawing controls
|
// this would be the preferred version for fast drawing controls
|
||||||
|
|
||||||
if( UMAGetSystemVersion() < 0x1030 || !m_peer->IsCompositing() )
|
#if MAC_OS_X_VERSION_MAX_ALLOWED >= MAC_OS_X_VERSION_10_3
|
||||||
Update() ;
|
if( UMAGetSystemVersion() >= 0x1030 && m_peer->IsCompositing() )
|
||||||
else
|
HIViewRender(m_peer->GetControlRef()) ;
|
||||||
HIViewRender(m_peer->GetControlRef()) ;
|
else
|
||||||
|
#endif
|
||||||
|
Update() ;
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
Reference in New Issue
Block a user