wrong method call, we need to add the second update region not to replace it
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28710 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
948c96efa1
commit
ac8c7f4923
@ -1638,7 +1638,7 @@ void wxWindowMac::DoMoveWindow(int x, int y, int width, int height)
|
||||
GetParent()->MacWindowToRootWindow( &parentorig.x , &parentorig.y ) ;
|
||||
parent -= GetParent()->GetClientAreaOrigin() ;
|
||||
OffsetRgn( updateOuter , -parentorig.x , -parentorig.y ) ;
|
||||
CopyRgn( updateOuter , updateTotal ) ;
|
||||
UnionRgn( updateOuter , updateTotal , updateTotal ) ;
|
||||
|
||||
GetParent()->m_peer->SetNeedsDisplay( true , updateTotal ) ;
|
||||
DisposeRgn(updateOuter) ;
|
||||
|
Loading…
Reference in New Issue
Block a user