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