From 15e758d12fa76057e91d9cf8f15d8c9de232e535 Mon Sep 17 00:00:00 2001 From: Gilles Depeyrot Date: Sun, 17 Mar 2002 14:23:02 +0000 Subject: [PATCH 1/1] added missing consts git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14661 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- include/wx/mac/bitmap.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/wx/mac/bitmap.h b/include/wx/mac/bitmap.h index 1760cca7b8..02f03186fc 100644 --- a/include/wx/mac/bitmap.h +++ b/include/wx/mac/bitmap.h @@ -186,8 +186,8 @@ public: int GetBitmapType() const; inline wxBitmap& operator = (const wxBitmap& bitmap) { if (*this == bitmap) return (*this); Ref(bitmap); return *this; } - inline bool operator == (const wxBitmap& bitmap) { return m_refData == bitmap.m_refData; } - inline bool operator != (const wxBitmap& bitmap) { return m_refData != bitmap.m_refData; } + 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(); protected: -- 2.47.2