X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/760a4fb9452efbb9764c0ac78aef3ffbcec35185..f014d4bf3e18198c273b3c119ad1a08d46d12c82:/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); }