X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/68654a8295dfa285e712f7bbd9607a703c245969..264f00e7d963802202f56e8eb19663d8d73f73fb:/src/mac/carbon/dcclient.cpp diff --git a/src/mac/carbon/dcclient.cpp b/src/mac/carbon/dcclient.cpp index ea1d197c0d..4bb189458d 100644 --- a/src/mac/carbon/dcclient.cpp +++ b/src/mac/carbon/dcclient.cpp @@ -234,7 +234,7 @@ wxClientDC::~wxClientDC() /* if ( m_window->MacGetCGContextRef() == 0) { - CGContextRef cgContext = dynamic_cast(m_graphicContext)->GetNativeContext() ; + CGContextRef cgContext = (wxMacCGContext*)(m_graphicContext)->GetNativeContext() ; CGContextFlush( cgContext ) ; } */