]> git.saurik.com Git - wxWidgets.git/blob - include/wx/gtk/cursor.h
SelectItem() always sends the notification messages
[wxWidgets.git] / include / wx / gtk / cursor.h
1 /////////////////////////////////////////////////////////////////////////////
2 // Name: cursor.h
3 // Purpose:
4 // Author: Robert Roebling
5 // Created: 01/02/97
6 // Id:
7 // Copyright: (c) 1998 Robert Roebling, Julian Smart and Markus Holzem
8 // Licence: wxWindows licence
9 /////////////////////////////////////////////////////////////////////////////
10
11
12 #ifndef __GTKCURSORH__
13 #define __GTKCURSORH__
14
15 #ifdef __GNUG__
16 #pragma interface
17 #endif
18
19 #include "wx/defs.h"
20 #include "wx/object.h"
21 #include "wx/gdicmn.h"
22
23 //-----------------------------------------------------------------------------
24 // classes
25 //-----------------------------------------------------------------------------
26
27 class wxWindow;
28
29 class wxCursor;
30
31 //-----------------------------------------------------------------------------
32 // wxCursor
33 //-----------------------------------------------------------------------------
34
35 class wxCursor: public wxObject
36 {
37 DECLARE_DYNAMIC_CLASS(wxCursor)
38
39 public:
40
41 wxCursor(void);
42 wxCursor( int cursorId );
43 wxCursor( const wxCursor &cursor );
44 wxCursor( const wxCursor *cursor );
45 ~wxCursor(void);
46 wxCursor& operator = ( const wxCursor& cursor );
47 bool operator == ( const wxCursor& cursor );
48 bool operator != ( const wxCursor& cursor );
49 bool Ok(void) const;
50
51 private:
52 public:
53
54 friend wxWindow;
55
56 GdkCursor *GetCursor(void) const;
57
58 // no data :-)
59 };
60
61 #endif // __GTKCURSORH__