X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/8ecff18117f8cabc0f515ad81aa4ad265e5e17d3..3ab296d9eb6d351eb1d2238f3e6ff2f5e6123861:/src/motif/cursor.cpp?ds=sidebyside diff --git a/src/motif/cursor.cpp b/src/motif/cursor.cpp index 37b680dd54..a40c79befa 100644 --- a/src/motif/cursor.cpp +++ b/src/motif/cursor.cpp @@ -17,11 +17,11 @@ #endif #include "wx/cursor.h" -#include "wx/app.h" -#include "wx/utils.h" -#include "wx/window.h" -#if wxUSE_IMAGE +#ifndef WX_PRECOMP + #include "wx/app.h" + #include "wx/utils.h" + #include "wx/window.h" #include "wx/image.h" #endif @@ -54,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