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:
Stefan Csomor 2004-08-08 05:35:01 +00:00
parent 948c96efa1
commit ac8c7f4923

View File

@ -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) ;