X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/0416c41834f36316a03720c4ed05cdf36964a2f3..9e06a15fc2f2144f7161dc813941e5c5ccd41132:/include/wx/gtk/cursor.h diff --git a/include/wx/gtk/cursor.h b/include/wx/gtk/cursor.h index f673ab3ae2..d940c1f204 100644 --- a/include/wx/gtk/cursor.h +++ b/include/wx/gtk/cursor.h @@ -12,8 +12,8 @@ #include "wx/object.h" -class WXDLLIMPEXP_CORE wxColour; -class WXDLLIMPEXP_CORE wxImage; +class WXDLLIMPEXP_FWD_CORE wxColour; +class WXDLLIMPEXP_FWD_CORE wxImage; //----------------------------------------------------------------------------- // wxCursor @@ -31,10 +31,9 @@ public: wxCursor( const char bits[], int width, int height, int hotSpotX=-1, int hotSpotY=-1, const char maskBits[] = NULL, const wxColour *fg = NULL, const wxColour *bg = NULL ); - ~wxCursor(); - bool operator == ( const wxCursor& cursor ) const; - bool operator != ( const wxCursor& cursor ) const; - bool Ok() const; + virtual ~wxCursor(); + bool Ok() const { return IsOk(); } + bool IsOk() const; // implementation