X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/d3c7fc996a73e9f6a83067bc28a3c5581a3fee65..3fd8c9885425ab527572a74d16badc913dfba53c:/include/wx/mac/classic/bitmap.h diff --git a/include/wx/mac/classic/bitmap.h b/include/wx/mac/classic/bitmap.h index c20a8a41bc..3a4a28f609 100644 --- a/include/wx/mac/classic/bitmap.h +++ b/include/wx/mac/classic/bitmap.h @@ -168,7 +168,8 @@ public: // copies the contents and mask of the given (colour) icon to the bitmap virtual bool CopyFromIcon(const wxIcon& icon); - bool Ok() const; + bool Ok() const { return IsOk(); } + bool IsOk() const; int GetWidth() const; int GetHeight() const; int GetDepth() const; @@ -189,9 +190,6 @@ public: int GetBitmapType() const; - inline bool operator == (const wxBitmap& bitmap) const { return m_refData == bitmap.m_refData; } - inline bool operator != (const wxBitmap& bitmap) const { return m_refData != bitmap.m_refData; } - static void InitStandardHandlers(); // raw bitmap access support functions, for internal use only