Added missing "const" for operator== and operator!=.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27189 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -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); }
|
||||
|
Reference in New Issue
Block a user