X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/452418c4b0763eb611432e84f077c9766e282057..531030e2d2f2f7092786795a9d552ac3e9505ea1:/include/wx/bitmap.h?ds=sidebyside diff --git a/include/wx/bitmap.h b/include/wx/bitmap.h index f0b8cb1883..4153de3a39 100644 --- a/include/wx/bitmap.h +++ b/include/wx/bitmap.h @@ -127,15 +127,14 @@ public: wxBitmap(const char* const* bits); wxBitmap(const wxString &filename, wxBitmapType type = wxBITMAP_TYPE_XPM); wxBitmap(const wxImage& image, int depth = -1); - bool operator == (const wxBitmap& bmp) const; - bool operator != (const wxBitmap& bmp) const; bool Create(int width, int height, int depth = -1); static void InitStandardHandlers(); */ - virtual bool Ok() const = 0; + virtual bool Ok() const { return IsOk(); } + virtual bool IsOk() const = 0; virtual int GetHeight() const = 0; virtual int GetWidth() const = 0;