From c0f6cd192451e0d0ab7d1382b95a6f9e155d6c44 Mon Sep 17 00:00:00 2001 From: Stefan Csomor Date: Thu, 12 Feb 2009 07:16:32 +0000 Subject: [PATCH] CGContextFlush is already called in SetNativeContext git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58839 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/osx/carbon/graphics.cpp | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/osx/carbon/graphics.cpp b/src/osx/carbon/graphics.cpp index 74720dc37a..4e1fac0d53 100644 --- a/src/osx/carbon/graphics.cpp +++ b/src/osx/carbon/graphics.cpp @@ -1524,12 +1524,6 @@ wxMacCoreGraphicsContext::wxMacCoreGraphicsContext() : wxGraphicsContext(NULL) wxMacCoreGraphicsContext::~wxMacCoreGraphicsContext() { SetNativeContext(NULL); -#if wxOSX_USE_COCOA_OR_IPHONE - if ( m_view ) - { - CGContextFlush(m_cgContext); - } -#endif } void wxMacCoreGraphicsContext::GetSize( wxDouble* width, wxDouble* height) -- 2.45.2