X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/899544330f37440c140b72a014c518a911b5b7a4..c944775f72435d2c0493113e05445898ab8baf1b:/src/mac/carbon/overlay.cpp diff --git a/src/mac/carbon/overlay.cpp b/src/mac/carbon/overlay.cpp index ec49a7fc9e..933aa8bf01 100644 --- a/src/mac/carbon/overlay.cpp +++ b/src/mac/carbon/overlay.cpp @@ -142,7 +142,7 @@ void wxOverlayImpl::BeginDrawing( wxWindowDC* dc) void wxOverlayImpl::EndDrawing( wxWindowDC* dc) { dc->SetGraphicsContext(NULL); - CGContextSynchronize( m_overlayContext ); + CGContextFlush( m_overlayContext ); } void wxOverlayImpl::Clear(wxWindowDC* WXUNUSED(dc))