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:
parent
8f242fce0c
commit
772f15b4d7
@ -774,12 +774,20 @@ wxGraphicsFont wxGraphicsContext::CreateFont( const wxFont &font , const wxColou
|
|||||||
|
|
||||||
wxGraphicsBitmap wxGraphicsContext::CreateBitmap( const wxBitmap& bmp ) const
|
wxGraphicsBitmap wxGraphicsContext::CreateBitmap( const wxBitmap& bmp ) const
|
||||||
{
|
{
|
||||||
|
#ifndef __WXGTK20__
|
||||||
return GetRenderer()->CreateBitmap(bmp);
|
return GetRenderer()->CreateBitmap(bmp);
|
||||||
|
#else
|
||||||
|
return wxNullGraphicsBitmap;
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
wxGraphicsBitmap wxGraphicsContext::CreateSubBitmap( const wxGraphicsBitmap &bmp, wxDouble x, wxDouble y, wxDouble w, wxDouble h ) const
|
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);
|
return GetRenderer()->CreateSubBitmap(bmp,x,y,w,h);
|
||||||
|
#else
|
||||||
|
return wxNullGraphicsBitmap;
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
wxGraphicsContext* wxGraphicsContext::Create( const wxWindowDC& dc)
|
wxGraphicsContext* wxGraphicsContext::Create( const wxWindowDC& dc)
|
||||||
|
Loading…
Reference in New Issue
Block a user