]> git.saurik.com Git - wxWidgets.git/blob - include/wx/mgl/cursor.h
Use correct reload flags on all platforms to avoid compilation errors
[wxWidgets.git] / include / wx / mgl / cursor.h
1 /////////////////////////////////////////////////////////////////////////////
2 // Name: wx/mgl/cursor.h
3 // Purpose:
4 // Author: Vaclav Slavik
5 // Id: $Id$
6 // Copyright: (c) 2001-2002 SciTech Software, Inc. (www.scitechsoft.com)
7 // Licence: wxWindows licence
8 /////////////////////////////////////////////////////////////////////////////
9
10 #ifndef __WX_CURSOR_H__
11 #define __WX_CURSOR_H__
12
13 #include "wx/gdiobj.h"
14 #include "wx/gdicmn.h"
15
16 class MGLCursor;
17
18 //-----------------------------------------------------------------------------
19 // wxCursor
20 //-----------------------------------------------------------------------------
21
22 class WXDLLIMPEXP_CORE wxCursor : public wxGDIObject
23 {
24 public:
25
26 wxCursor();
27 wxCursor(wxStockCursor id) { InitFromStock(id); }
28 #if WXWIN_COMPATIBILITY_2_8
29 wxCursor(int id) { InitFromStock((wxStockCursor)id); }
30 #endif
31 wxCursor(const wxString& name,
32 wxBitmapType type = wxCURSOR_DEFAULT_TYPE,
33 int hotSpotX = 0, int hotSpotY = 0);
34 virtual ~wxCursor();
35
36 // implementation
37 MGLCursor *GetMGLCursor() const;
38
39 private:
40 void InitFromStock(wxStockCursor);
41
42 DECLARE_DYNAMIC_CLASS(wxCursor)
43 };
44
45 #endif // __WX_CURSOR_H__