git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33561
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
{
RgnHandle rgn = NewRgn() ;
GetClip( rgn ) ;
{
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 ) ;
wxMacWindowStateSaver sv( this ) ;
SectRgn( rgn , (RgnHandle) MacGetVisibleRegion().GetWXHRGN() , rgn ) ;
MacDoRedraw( rgn , 0 ) ;
HIViewRender(m_peer->GetControlRef()) ;
else
#endif
HIViewRender(m_peer->GetControlRef()) ;
else
#endif
void wxWindowMac::Update()
{
#if TARGET_API_MAC_OSX
void wxWindowMac::Update()
{
#if TARGET_API_MAC_OSX
- MacGetTopLevelWindow()->MacPerformUpdates() ;
+ MacGetTopLevelWindow()->MacPerformUpdates() ;
#else
::Draw1Control( m_peer->GetControlRef() ) ;
#endif
#else
::Draw1Control( m_peer->GetControlRef() ) ;
#endif