#ifndef WX_PRECOMP
#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
-#include <gdk/gdk.h>
-#include <gtk/gtk.h>
-
//-----------------------------------------------------------------------------
// wxCursor
//-----------------------------------------------------------------------------
public:
wxCursorRefData();
- ~wxCursorRefData();
+ virtual ~wxCursorRefData();
GdkCursor *m_cursor;
};
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;
{
}
-bool wxCursor::operator == ( const wxCursor& cursor ) const
-{
- return m_refData == cursor.m_refData;
-}
-
-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);
}