1 /////////////////////////////////////////////////////////////////////////////
4 // Author: Vaclav Slavik
6 // Copyright: (c) 2001-2002 SciTech Software, Inc. (www.scitechsoft.com)
7 // Licence: wxWindows licence
8 /////////////////////////////////////////////////////////////////////////////
10 #ifndef __WX_CURSOR_H__
11 #define __WX_CURSOR_H__
13 #include "wx/gdiobj.h"
14 #include "wx/gdicmn.h"
18 //-----------------------------------------------------------------------------
20 //-----------------------------------------------------------------------------
22 class WXDLLIMPEXP_CORE wxCursor
: public wxGDIObject
27 wxCursor(wxStockCursor id
) { InitFromStock(id
); }
28 #if WXWIN_COMPATIBILITY_2_8
29 wxCursor(int id
) { InitFromStock((wxStockCursor
)id
); }
31 wxCursor(const wxString
& name
,
32 wxBitmapType type
= wxCURSOR_DEFAULT_TYPE
,
33 int hotSpotX
= 0, int hotSpotY
= 0);
37 MGLCursor
*GetMGLCursor() const;
40 void InitFromStock(wxStockCursor
);
42 DECLARE_DYNAMIC_CLASS(wxCursor
)
45 #endif // __WX_CURSOR_H__