X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/d3c7fc996a73e9f6a83067bc28a3c5581a3fee65..6869b469c6ba4a549b2bd463ce9778915781b0df:/include/wx/mgl/cursor.h diff --git a/include/wx/mgl/cursor.h b/include/wx/mgl/cursor.h index 5a0c378bac..cb26186fad 100644 --- a/include/wx/mgl/cursor.h +++ b/include/wx/mgl/cursor.h @@ -10,8 +10,7 @@ #ifndef __WX_CURSOR_H__ #define __WX_CURSOR_H__ -#include "wx/defs.h" -#include "wx/object.h" +#include "wx/gdiobj.h" #include "wx/gdicmn.h" class MGLCursor; @@ -20,12 +19,12 @@ class MGLCursor; // wxCursor //----------------------------------------------------------------------------- -class WXDLLEXPORT wxCursor: public wxObject +class WXDLLIMPEXP_CORE wxCursor : public wxGDIObject { public: wxCursor(); - wxCursor(int cursorId); + wxCursor(wxStockCursor cursorId); wxCursor(const char bits[], int width, int height, int hotSpotX=-1, int hotSpotY=-1, const char maskBits[]=0, wxColour *fg=0, wxColour *bg=0); @@ -33,9 +32,6 @@ public: long flags = wxBITMAP_TYPE_CUR_RESOURCE, int hotSpotX = 0, int hotSpotY = 0); virtual ~wxCursor(); - bool operator == (const wxCursor& cursor) const; - bool operator != (const wxCursor& cursor) const; - bool Ok() const; // implementation MGLCursor *GetMGLCursor() const;