diff --git a/src/mac/carbon/graphics.cpp b/src/mac/carbon/graphics.cpp index 4446f29eb5..206e1e838c 100755 --- a/src/mac/carbon/graphics.cpp +++ b/src/mac/carbon/graphics.cpp @@ -1710,6 +1710,11 @@ void wxMacCoreGraphicsContext::Rotate( wxDouble angle ) m_windowTransform = CGAffineTransformRotate(m_windowTransform,angle); } +void wxGraphicsContext::DrawBitmap( const wxBitmap &bmp, wxDouble x, wxDouble y, wxDouble w, wxDouble h ) +{ + static_cast(this)->DrawBitmap(bmp, x, y, w, h); +} + void wxMacCoreGraphicsContext::DrawBitmap( const wxBitmap &bmp, wxDouble x, wxDouble y, wxDouble w, wxDouble h ) { wxGraphicsBitmap bitmap = GetRenderer()->CreateBitmap(bmp); @@ -2289,7 +2294,7 @@ wxGraphicsFont wxMacCoreGraphicsRenderer::CreateFont( const wxFont &font , const return wxNullGraphicsFont; } -wxGraphicsBitmap wxMacCoreGraphicsRenderer::CreateBitmap( const wxBitmap& bmp ) +wxGraphicsBitmap wxGraphicsRenderer::CreateBitmap( const wxBitmap& bmp ) { if ( bmp.Ok() ) {