git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32398
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
RgnHandle updateRgn = NULL ;
RgnHandle allocatedRgn = NULL ;
wxRegion visRegion = thisWindow->MacGetVisibleRegion() ;
RgnHandle updateRgn = NULL ;
RgnHandle allocatedRgn = NULL ;
wxRegion visRegion = thisWindow->MacGetVisibleRegion() ;
- if ( thisWindow->MacGetTopLevelWindow()->MacUsesCompositing() == false || cEvent.GetParameter<RgnHandle>(kEventParamRgnHandle, &updateRgn) != noErr )
+ if ( cEvent.GetParameter<RgnHandle>(kEventParamRgnHandle, &updateRgn) != noErr )
{
updateRgn = (RgnHandle) visRegion.GetWXHRGN() ;
}
{
updateRgn = (RgnHandle) visRegion.GetWXHRGN() ;
}
bool isCompositing = MacGetTopLevelWindow()->MacUsesCompositing() ;
// if ( isCompositing )
{
bool isCompositing = MacGetTopLevelWindow()->MacUsesCompositing() ;
// if ( isCompositing )
{
if ( rect == NULL && isCompositing )
m_peer->SetNeedsDisplay( true ) ;
else
if ( rect == NULL && isCompositing )
m_peer->SetNeedsDisplay( true ) ;
else