const wxRect& rect,
int flags)
{
- const int CORNER = 1;
-
const wxCoord x = rect.x-1,
y = rect.y-1,
w = rect.width,
{
CGContextRef cgContext ;
#if wxMAC_USE_CORE_GRAPHICS
- cgContext = dynamic_cast<wxMacCGContext*>(dc.GetGraphicContext())->GetNativeContext() ;
+ cgContext = (wxMacCGContext*)(dc.GetGraphicContext())->GetNativeContext() ;
#else
Rect bounds ;
GetPortBounds( (CGrafPtr) dc.m_macPort , &bounds ) ;
{
CGContextRef cgContext ;
#if wxMAC_USE_CORE_GRAPHICS
- cgContext = dynamic_cast<wxMacCGContext*>(dc.GetGraphicContext())->GetNativeContext() ;
+ cgContext = (wxMacCGContext*)(dc.GetGraphicContext())->GetNativeContext() ;
#else
Rect bounds ;
GetPortBounds( (CGrafPtr) dc.m_macPort , &bounds ) ;