Mac fix for moving methods to non-virtual.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@56806 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -1710,6 +1710,11 @@ void wxMacCoreGraphicsContext::Rotate( wxDouble angle )
|
|||||||
m_windowTransform = CGAffineTransformRotate(m_windowTransform,angle);
|
m_windowTransform = CGAffineTransformRotate(m_windowTransform,angle);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void wxGraphicsContext::DrawBitmap( const wxBitmap &bmp, wxDouble x, wxDouble y, wxDouble w, wxDouble h )
|
||||||
|
{
|
||||||
|
static_cast<wxMacCoreGraphicsContext*>(this)->DrawBitmap(bmp, x, y, w, h);
|
||||||
|
}
|
||||||
|
|
||||||
void wxMacCoreGraphicsContext::DrawBitmap( const wxBitmap &bmp, wxDouble x, wxDouble y, wxDouble w, wxDouble h )
|
void wxMacCoreGraphicsContext::DrawBitmap( const wxBitmap &bmp, wxDouble x, wxDouble y, wxDouble w, wxDouble h )
|
||||||
{
|
{
|
||||||
wxGraphicsBitmap bitmap = GetRenderer()->CreateBitmap(bmp);
|
wxGraphicsBitmap bitmap = GetRenderer()->CreateBitmap(bmp);
|
||||||
@@ -2289,7 +2294,7 @@ wxGraphicsFont wxMacCoreGraphicsRenderer::CreateFont( const wxFont &font , const
|
|||||||
return wxNullGraphicsFont;
|
return wxNullGraphicsFont;
|
||||||
}
|
}
|
||||||
|
|
||||||
wxGraphicsBitmap wxMacCoreGraphicsRenderer::CreateBitmap( const wxBitmap& bmp )
|
wxGraphicsBitmap wxGraphicsRenderer::CreateBitmap( const wxBitmap& bmp )
|
||||||
{
|
{
|
||||||
if ( bmp.Ok() )
|
if ( bmp.Ok() )
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user