X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/452418c4b0763eb611432e84f077c9766e282057..3ac1094bead05e30462122d00e4859725d2ea59f:/include/wx/mgl/bitmap.h diff --git a/include/wx/mgl/bitmap.h b/include/wx/mgl/bitmap.h index 0f5b073554..ab6806b3e9 100644 --- a/include/wx/mgl/bitmap.h +++ b/include/wx/mgl/bitmap.h @@ -13,8 +13,8 @@ // classes //----------------------------------------------------------------------------- -class WXDLLEXPORT wxDC; -class WXDLLEXPORT wxMemoryDC; +class WXDLLIMPEXP_FWD_CORE wxDC; +class WXDLLIMPEXP_FWD_CORE wxMemoryDC; class MGLDevCtx; struct bitmap_t; @@ -38,9 +38,8 @@ public: wxBitmap(const wxString &filename, wxBitmapType type = wxBITMAP_TYPE_RESOURCE); wxBitmap(const wxImage& image, int depth = -1); virtual ~wxBitmap() {} - bool operator == (const wxBitmap& bmp) const; - bool operator != (const wxBitmap& bmp) const; - bool Ok() const; + bool Ok() const { return IsOk(); } + bool IsOk() const; bool Create(int width, int height, int depth = -1);