X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/760a4fb9452efbb9764c0ac78aef3ffbcec35185..f5a1953b341d16396763bee067ccdd96108f3aad:/include/wx/os2/cursor.h?ds=sidebyside 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); }