]> git.saurik.com Git - wxWidgets.git/blobdiff - src/mac/carbon/overlay.cpp
unload msimg32.dll earlier (before static cleanup time) to avoid lockups when wx...
[wxWidgets.git] / src / mac / carbon / overlay.cpp
index ec49a7fc9efe5dde22b929e3188fae21036eb88d..933aa8bf01d51d62624d8ef95220f0c34cd86daa 100644 (file)
@@ -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))