X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/02761f6cd478e3c2c97cf6f93442747f7b029833..8e190f0ed9c242e6df5fd4dd99fdaf6c9dea1cda:/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); }