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