X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/de6185e212ebc37ff11ff70278e3c4f68419b097..ce7208d49d5ce2ca1dc0b3b83f14f1d04f29c4bf:/src/x11/cursor.cpp diff --git a/src/x11/cursor.cpp b/src/x11/cursor.cpp index 7fbd54c028..bd861353d6 100644 --- a/src/x11/cursor.cpp +++ b/src/x11/cursor.cpp @@ -17,11 +17,10 @@ #ifndef WX_PRECOMP #include "wx/app.h" #include "wx/utils.h" + #include "wx/icon.h" + #include "wx/gdicmn.h" #endif -#include "wx/gdicmn.h" -#include "wx/icon.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; @@ -152,7 +151,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); }