X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/4ae3fe39529688ffc016b2059321720d8bde7064..9d5507f7a2701395e1d5c121bd877bb9066ee6ea:/src/aui/dockart.cpp?ds=sidebyside diff --git a/src/aui/dockart.cpp b/src/aui/dockart.cpp index 06870399cd..fd09783713 100644 --- a/src/aui/dockart.cpp +++ b/src/aui/dockart.cpp @@ -412,7 +412,8 @@ void wxAuiDefaultDockArt::DrawSash(wxDC& dc, wxWindow *window, int orientation, HIRect splitterRect = CGRectMake( rect.x , rect.y , rect.width , rect.height ); CGContextRef cgContext ; - cgContext = (CGContextRef) dc.GetGraphicsContext()->GetNativeContext() ; + wxGCDCImpl *impl = (wxGCDCImpl*) dc.GetImpl(); + cgContext = (CGContextRef) impl->GetGraphicsContext()->GetNativeContext() ; HIThemeSplitterDrawInfo drawInfo ; drawInfo.version = 0 ;