#endif
#include "wx/renderer.h"
+#include "wx/graphics.h"
#include "wx/mac/uma.h"
CGContextRef cgContext;
#if wxMAC_USE_CORE_GRAPHICS
- cgContext = (CGContextRef) dc.GetGraphicContext()->GetNativeContext();
+ cgContext = (CGContextRef) dc.GetGraphicsContext()->GetNativeContext();
#else
Rect bounds;
CGContextRef cgContext;
#if wxMAC_USE_CORE_GRAPHICS
- cgContext = (CGContextRef) dc.GetGraphicContext()->GetNativeContext();
+ cgContext = (CGContextRef) dc.GetGraphicsContext()->GetNativeContext();
#else
Rect bounds;
GetPortBounds( (CGrafPtr) dc.m_macPort, &bounds );