else
{
CGContextRef cgContext;
-
- cgContext = (CGContextRef) dc.GetGraphicsContext()->GetNativeContext();
+ wxGCDCImpl *impl = (wxGCDCImpl*) dc.GetImpl();
+
+ cgContext = (CGContextRef) impl->GetGraphicsContext()->GetNativeContext();
{
HIThemeButtonDrawInfo drawInfo;
{
CGContextRef cgContext;
- cgContext = (CGContextRef) dc.GetGraphicsContext()->GetNativeContext();
+ wxGCDCImpl *impl = (wxGCDCImpl*) dc.GetImpl();
+ cgContext = (CGContextRef) impl->GetGraphicsContext()->GetNativeContext();
HIThemeButtonDrawInfo drawInfo;
HIRect labelRect;
else
{
CGContextRef cgContext;
-
- cgContext = (CGContextRef) dc.GetGraphicsContext()->GetNativeContext();
+ wxGCDCImpl *impl = (wxGCDCImpl*) dc.GetImpl();
+ cgContext = (CGContextRef) impl->GetGraphicsContext()->GetNativeContext();
HIThemeSplitterDrawInfo drawInfo;
drawInfo.version = 0;
}
else
{
+ wxGCDCImpl *impl = (wxGCDCImpl*) dc.GetImpl();
CGContextRef cgContext;
- cgContext = (CGContextRef) dc.GetGraphicsContext()->GetNativeContext();
+ cgContext = (CGContextRef) impl->GetGraphicsContext()->GetNativeContext();
HIThemeButtonDrawInfo drawInfo;
HIRect labelRect;