X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/0416c41834f36316a03720c4ed05cdf36964a2f3..38aa6e420c1dde8dc8c2a6512a314328bcf8a28f:/src/gtk/cursor.cpp diff --git a/src/gtk/cursor.cpp b/src/gtk/cursor.cpp index 9caf8523e1..26b1bc0629 100644 --- a/src/gtk/cursor.cpp +++ b/src/gtk/cursor.cpp @@ -16,6 +16,7 @@ #include "wx/app.h" #include "wx/utils.h" #include "wx/image.h" + #include "wx/colour.h" #endif // WX_PRECOMP #include "wx/gtk/private.h" //for idle stuff @@ -29,7 +30,7 @@ class wxCursorRefData: public wxObjectRefData public: wxCursorRefData(); - ~wxCursorRefData(); + virtual ~wxCursorRefData(); GdkCursor *m_cursor; }; @@ -86,7 +87,7 @@ wxCursor::wxCursor( int cursorId ) case wxCURSOR_ARROWWAIT: case wxCURSOR_WAIT: case wxCURSOR_WATCH: gdk_cur = GDK_WATCH; break; - case wxCURSOR_SIZING: gdk_cur = GDK_SIZING; break; + case wxCURSOR_SIZING: gdk_cur = GDK_FLEUR; break; case wxCURSOR_SPRAYCAN: gdk_cur = GDK_SPRAYCAN; break; case wxCURSOR_IBEAM: gdk_cur = GDK_XTERM; break; case wxCURSOR_PENCIL: gdk_cur = GDK_PENCIL; break; @@ -319,7 +320,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); }