{
RgnHandle rgn = NewRgn() ;
GetClip( rgn ) ;
+ int x = 0 , y = 0;
+ MacWindowToRootWindow( &x,&y ) ;
+ OffsetRgn( rgn , -x , -y ) ;
wxMacWindowStateSaver sv( this ) ;
SectRgn( rgn , (RgnHandle) MacGetVisibleRegion().GetWXHRGN() , rgn ) ;
MacDoRedraw( rgn , 0 ) ;
HIViewRender(m_peer->GetControlRef()) ;
else
#endif
- Update() ;
+ Update() ;
#endif
}
void wxWindowMac::Update()
{
#if TARGET_API_MAC_OSX
- MacGetTopLevelWindow()->MacPerformUpdates() ;
+ MacGetTopLevelWindow()->MacPerformUpdates() ;
#else
::Draw1Control( m_peer->GetControlRef() ) ;
#endif