X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/923d28da0eed674dfd7f4a497568ac14a29f0189..24a39c0dd5b46ad2de22da1c21758e651a24bd9b:/src/x11/cursor.cpp diff --git a/src/x11/cursor.cpp b/src/x11/cursor.cpp index 3aff9bfa0e..fb29364b43 100644 --- a/src/x11/cursor.cpp +++ b/src/x11/cursor.cpp @@ -18,10 +18,9 @@ #include "wx/app.h" #include "wx/utils.h" #include "wx/icon.h" + #include "wx/gdicmn.h" #endif -#include "wx/gdicmn.h" - #include "wx/x11/private.h" #if !wxUSE_NANOX @@ -37,7 +36,7 @@ class wxCursorRefData: public wxObjectRefData public: wxCursorRefData(); - ~wxCursorRefData(); + virtual ~wxCursorRefData(); WXCursor m_cursor; WXDisplay *m_display; @@ -142,17 +141,7 @@ wxCursor::~wxCursor() { } -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); }