Fix linking problem

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53354 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robert Roebling 2008-04-25 17:20:02 +00:00
parent 8f242fce0c
commit 772f15b4d7

View File

@ -774,12 +774,20 @@ wxGraphicsFont wxGraphicsContext::CreateFont( const wxFont &font , const wxColou
wxGraphicsBitmap wxGraphicsContext::CreateBitmap( const wxBitmap& bmp ) const
{
#ifndef __WXGTK20__
return GetRenderer()->CreateBitmap(bmp);
#else
return wxNullGraphicsBitmap;
#endif
}
wxGraphicsBitmap wxGraphicsContext::CreateSubBitmap( const wxGraphicsBitmap &bmp, wxDouble x, wxDouble y, wxDouble w, wxDouble h ) const
{
#ifndef __WXGTK20__
return GetRenderer()->CreateSubBitmap(bmp,x,y,w,h);
#else
return wxNullGraphicsBitmap;
#endif
}
wxGraphicsContext* wxGraphicsContext::Create( const wxWindowDC& dc)