X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/760a4fb9452efbb9764c0ac78aef3ffbcec35185..73302af6dddd667af4ebec69c800bc9de106f28e:/include/wx/os2/cursor.h diff --git a/include/wx/os2/cursor.h b/include/wx/os2/cursor.h index e1dc95769e..eee0aeba20 100644 --- a/include/wx/os2/cursor.h +++ b/include/wx/os2/cursor.h @@ -58,8 +58,8 @@ public: Ref(rCursor); return *this; } - inline bool operator == (const wxCursor& rCursor) { return m_refData == rCursor.m_refData; } - inline bool operator != (const wxCursor& rCursor) { return m_refData != rCursor.m_refData; } + inline bool operator == (const wxCursor& rCursor) const { return m_refData == rCursor.m_refData; } + inline bool operator != (const wxCursor& rCursor) const { return m_refData != rCursor.m_refData; } inline WXHCURSOR GetHCURSOR(void) const { return (M_CURSORDATA ? M_CURSORDATA->m_hCursor : 0); } inline void SetHCURSOR(WXHCURSOR hCursor) { SetHandle((WXHANDLE)hCursor); }