]> git.saurik.com Git - wxWidgets.git/commitdiff
flushing is not done anymore in closing the context, but we need it here - there...
authorStefan Csomor <csomor@advancedconcepts.ch>
Sun, 29 Oct 2006 17:37:43 +0000 (17:37 +0000)
committerStefan Csomor <csomor@advancedconcepts.ch>
Sun, 29 Oct 2006 17:37:43 +0000 (17:37 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42629 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/mac/carbon/overlay.cpp

index f1e2e046ee168ba6da75e3d5b11aa47602a6ede9..b2786c75da5a62e131f099cdbc850477005c284d 100644 (file)
@@ -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)