From 8275e02a5a09be69acc2d44c9a2cd4ea5962f16d Mon Sep 17 00:00:00 2001 From: Stefan Csomor Date: Sun, 29 Oct 2006 17:37:43 +0000 Subject: [PATCH] flushing is not done anymore in closing the context, but we need it here - there's still an offset bug however ... git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42629 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/mac/carbon/overlay.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/mac/carbon/overlay.cpp b/src/mac/carbon/overlay.cpp index f1e2e046ee..b2786c75da 100644 --- a/src/mac/carbon/overlay.cpp +++ b/src/mac/carbon/overlay.cpp @@ -139,6 +139,7 @@ void wxOverlayImpl::BeginDrawing( wxWindowDC* dc) void wxOverlayImpl::EndDrawing( wxWindowDC* dc) { dc->SetGraphicsContext(NULL); + CGContextSynchronize( m_overlayContext ); } void wxOverlayImpl::Clear(wxWindowDC* dc) -- 2.45.2