X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/df69528b7eacc7c74f31879e761c804e470d12f8..7212d15556e87f73ff5ea8c3211a0e8e8811426b:/src/mgl/cursor.cpp diff --git a/src/mgl/cursor.cpp b/src/mgl/cursor.cpp index 48e37f2b59..709b59e34f 100644 --- a/src/mgl/cursor.cpp +++ b/src/mgl/cursor.cpp @@ -21,10 +21,9 @@ #include "wx/log.h" #include "wx/utils.h" #include "wx/hashmap.h" + #include "wx/module.h" #endif -#include "wx/module.h" - #include "wx/mgl/private.h" @@ -37,7 +36,7 @@ class wxCursorRefData: public wxObjectRefData public: wxCursorRefData(); - ~wxCursorRefData(); + virtual ~wxCursorRefData(); MGLCursor *m_cursor; }; @@ -186,7 +185,7 @@ 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); }