X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/c0ed460c2e7802793d591c84f3cfdbff159c5549..2df7be7f2cca699a02ee0c9ce69de9bfe6b0922f:/include/wx/motif/cursor.h diff --git a/include/wx/motif/cursor.h b/include/wx/motif/cursor.h index 2ca07ac040..9d4c270ccd 100644 --- a/include/wx/motif/cursor.h +++ b/include/wx/motif/cursor.h @@ -68,8 +68,8 @@ public: virtual bool Ok() const { return ((m_refData != NULL) && M_CURSORDATA->m_ok); } 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; } // Motif-specific. // Create/get a cursor for the current display