X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/68654a8295dfa285e712f7bbd9607a703c245969..5f7348ce627157e21bec507623ebd31c1e9dc762:/src/mac/carbon/dcclient.cpp?ds=sidebyside diff --git a/src/mac/carbon/dcclient.cpp b/src/mac/carbon/dcclient.cpp index ea1d197c0d..501e990226 100644 --- a/src/mac/carbon/dcclient.cpp +++ b/src/mac/carbon/dcclient.cpp @@ -35,11 +35,9 @@ // wxPaintDC //----------------------------------------------------------------------------- -#if !USE_SHARED_LIBRARY IMPLEMENT_DYNAMIC_CLASS(wxWindowDC, wxDC) IMPLEMENT_DYNAMIC_CLASS(wxClientDC, wxWindowDC) IMPLEMENT_DYNAMIC_CLASS(wxPaintDC, wxWindowDC) -#endif /* * wxWindowDC @@ -234,7 +232,7 @@ wxClientDC::~wxClientDC() /* if ( m_window->MacGetCGContextRef() == 0) { - CGContextRef cgContext = dynamic_cast(m_graphicContext)->GetNativeContext() ; + CGContextRef cgContext = (wxMacCGContext*)(m_graphicContext)->GetNativeContext() ; CGContextFlush( cgContext ) ; } */