X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/cdccdfabb29bd51aded9aac141e1f7bbd6c85443..ce7208d49d5ce2ca1dc0b3b83f14f1d04f29c4bf:/src/motif/cursor.cpp diff --git a/src/motif/cursor.cpp b/src/motif/cursor.cpp index 11c30421c7..6bfc0ab441 100644 --- a/src/motif/cursor.cpp +++ b/src/motif/cursor.cpp @@ -22,9 +22,6 @@ #include "wx/app.h" #include "wx/utils.h" #include "wx/window.h" -#endif - -#if wxUSE_IMAGE #include "wx/image.h" #endif @@ -57,7 +54,7 @@ class WXDLLEXPORT wxCursorRefData: public wxObjectRefData friend class WXDLLEXPORT wxCursor; public: wxCursorRefData(); - ~wxCursorRefData(); + virtual ~wxCursorRefData(); wxXCursorList m_cursors; // wxXCursor objects, one per display wxStockCursor m_cursorId; // wxWidgets standard cursor id @@ -296,7 +293,7 @@ wxCursor::~wxCursor() { } -bool wxCursor::Ok() const +bool wxCursor::IsOk() const { return m_refData != NULL; }