diff --git a/include/wx/graphics.h b/include/wx/graphics.h index 54a0ad58c8..7ed23f0a5d 100755 --- a/include/wx/graphics.h +++ b/include/wx/graphics.h @@ -686,7 +686,10 @@ public : // sets the font virtual wxGraphicsFont CreateFont( const wxFont &font , const wxColour &col = *wxBLACK ) = 0; - wxGraphicsBitmap CreateBitmap( const wxBitmap &bmp ) = 0; +#if wxABI_VERSION >= 20809 + wxGraphicsBitmap CreateBitmap( const wxBitmap &bmp ); +#endif + private : DECLARE_NO_COPY_CLASS(wxGraphicsRenderer) DECLARE_ABSTRACT_CLASS(wxGraphicsRenderer)