X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/f8855e47254a28f5141524b3aaaac03c2944e997..db7035e48a4ccc6265fa01949cb92db3c6b6c17f:/include/wx/mgl/cursor.h diff --git a/include/wx/mgl/cursor.h b/include/wx/mgl/cursor.h index c3146e569d..7e2ebb3c51 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,7 +19,7 @@ class MGLCursor; // wxCursor //----------------------------------------------------------------------------- -class WXDLLEXPORT wxCursor: public wxObject +class WXDLLEXPORT wxCursor : public wxGDIObject { public: @@ -32,10 +31,7 @@ public: wxCursor(const wxString& name, long flags = wxBITMAP_TYPE_CUR_RESOURCE, int hotSpotX = 0, int hotSpotY = 0); - ~wxCursor(); - bool operator == (const wxCursor& cursor) const; - bool operator != (const wxCursor& cursor) const; - bool Ok() const; + virtual ~wxCursor(); // implementation MGLCursor *GetMGLCursor() const;