From 64631e82fda8fd68cd2f9ce1aba71a7e0747ba46 Mon Sep 17 00:00:00 2001 From: Stefan Csomor Date: Thu, 25 Nov 2004 05:21:32 +0000 Subject: [PATCH] const comparison operators git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30778 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- include/wx/mac/carbon/cursor.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/wx/mac/carbon/cursor.h b/include/wx/mac/carbon/cursor.h index c8414a4ee0..7d1cff7bbe 100644 --- a/include/wx/mac/carbon/cursor.h +++ b/include/wx/mac/carbon/cursor.h @@ -68,8 +68,8 @@ public: virtual bool Ok() const { return (m_refData != NULL && ( M_CURSORDATA->m_hCursor != NULL || M_CURSORDATA->m_themeCursor != -1 ) ) ; } inline wxCursor& operator = (const wxCursor& cursor) { if (*this == cursor) return (*this); Ref(cursor); return *this; } - inline bool operator == (const wxCursor& cursor) { return m_refData == cursor.m_refData; } - inline bool operator != (const wxCursor& cursor) { return m_refData != cursor.m_refData; } + inline bool operator == (const wxCursor& cursor) const { return m_refData == cursor.m_refData; } + inline bool operator != (const wxCursor& cursor) const { return m_refData != cursor.m_refData; } void MacInstall() const ; -- 2.45.2