]> git.saurik.com Git - wxWidgets.git/blame - include/wx/mgl/cursor.h
Removed GetExpandedProperties() (used to act as poor man's GetEditableState())
[wxWidgets.git] / include / wx / mgl / cursor.h
CommitLineData
32b8ec41
VZ
1/////////////////////////////////////////////////////////////////////////////
2// Name: cursor.h
3// Purpose:
4// Author: Vaclav Slavik
5// Id: $Id$
52750c2e 6// Copyright: (c) 2001-2002 SciTech Software, Inc. (www.scitechsoft.com)
65571936 7// Licence: wxWindows licence
32b8ec41
VZ
8/////////////////////////////////////////////////////////////////////////////
9
32b8ec41
VZ
10#ifndef __WX_CURSOR_H__
11#define __WX_CURSOR_H__
12
8f884a0d 13#include "wx/gdiobj.h"
32b8ec41
VZ
14#include "wx/gdicmn.h"
15
16class MGLCursor;
17
18//-----------------------------------------------------------------------------
19// wxCursor
20//-----------------------------------------------------------------------------
21
53a2db12 22class WXDLLIMPEXP_CORE wxCursor : public wxGDIObject
32b8ec41
VZ
23{
24public:
25
26 wxCursor();
0ef5b1da
FM
27 wxCursor(wxStockCursor id) { InitFromStock(id); }
28#if WXWIN_COMPATIBILITY_2_8
29 wxCursor(int id) { InitFromStock((wxStockCursor)id); }
30#endif
32b8ec41 31 wxCursor(const wxString& name,
0ef5b1da 32 wxBitmapType type = wxCURSOR_DEFAULT_TYPE,
32b8ec41 33 int hotSpotX = 0, int hotSpotY = 0);
d3c7fc99 34 virtual ~wxCursor();
32b8ec41
VZ
35
36 // implementation
37 MGLCursor *GetMGLCursor() const;
38
39private:
0ef5b1da
FM
40 void InitFromStock(wxStockCursor);
41
32b8ec41
VZ
42 DECLARE_DYNAMIC_CLASS(wxCursor)
43};
44
45#endif // __WX_CURSOR_H__