From ac8c7f49239af713b50f8b7da32bcf8f74ef91eb Mon Sep 17 00:00:00 2001 From: Stefan Csomor Date: Sun, 8 Aug 2004 05:35:01 +0000 Subject: [PATCH] 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 --- src/mac/carbon/window.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mac/carbon/window.cpp b/src/mac/carbon/window.cpp index 0cd97d9857..12f493093a 100644 --- a/src/mac/carbon/window.cpp +++ b/src/mac/carbon/window.cpp @@ -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) ;