X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/ac04aa9943bc3c48bd053a899cbe2a9c75fe13f5..9c34a216817028bc533e07873d047208a96b05a2:/include/wx/os2/bitmap.h diff --git a/include/wx/os2/bitmap.h b/include/wx/os2/bitmap.h index 653dd9635a..7051a8162d 100644 --- a/include/wx/os2/bitmap.h +++ b/include/wx/os2/bitmap.h @@ -63,7 +63,8 @@ public: // wxBitmap: a mono or colour bitmap // ---------------------------------------------------------------------------- -class WXDLLIMPEXP_CORE wxBitmap : public wxGDIImage +class WXDLLIMPEXP_CORE wxBitmap : public wxGDIImage, + public wxBitmapHelpers { public: // default ctor creates an invalid bitmap, you must Create() it later @@ -165,6 +166,8 @@ public: ); virtual bool Create(const wxSize& sz, int depth = wxBITMAP_SCREEN_DEPTH) { return Create(sz.GetWidth(), sz.GetHeight(), depth); } + virtual bool Create(int width, int height, const wxDC& WXUNUSED(dc)) + { return Create(width,height); } virtual bool Create( const void* pData ,wxBitmapType lType