X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/de6185e212ebc37ff11ff70278e3c4f68419b097..83dea146e2523e2d73b810d01b460db2c9aca8da:/src/motif/cursor.cpp diff --git a/src/motif/cursor.cpp b/src/motif/cursor.cpp index fdcb917d39..6bfc0ab441 100644 --- a/src/motif/cursor.cpp +++ b/src/motif/cursor.cpp @@ -21,11 +21,7 @@ #ifndef WX_PRECOMP #include "wx/app.h" #include "wx/utils.h" -#endif - -#include "wx/window.h" - -#if wxUSE_IMAGE + #include "wx/window.h" #include "wx/image.h" #endif @@ -58,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 @@ -297,7 +293,7 @@ wxCursor::~wxCursor() { } -bool wxCursor::Ok() const +bool wxCursor::IsOk() const { return m_refData != NULL; }