X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/02761f6cd478e3c2c97cf6f93442747f7b029833..5fe302ef74b16d8fac0d9458d4658ea5143caaa6:/src/mgl/cursor.cpp diff --git a/src/mgl/cursor.cpp b/src/mgl/cursor.cpp index c60a9eaf11..5b9c7899d1 100644 --- a/src/mgl/cursor.cpp +++ b/src/mgl/cursor.cpp @@ -36,7 +36,7 @@ class wxCursorRefData: public wxObjectRefData public: wxCursorRefData(); - ~wxCursorRefData(); + virtual ~wxCursorRefData(); MGLCursor *m_cursor; }; @@ -175,17 +175,7 @@ wxCursor::~wxCursor() // wxObject unrefs data } -bool wxCursor::operator == (const wxCursor& cursor) const -{ - return (m_refData == cursor.m_refData); -} - -bool wxCursor::operator != (const wxCursor& cursor) const -{ - return (m_refData != cursor.m_refData); -} - -bool wxCursor::Ok() const +bool wxCursor::IsOk() const { return (m_refData != NULL); }