]> git.saurik.com Git - wxWidgets.git/blame_incremental - include/wx/gtk1/cursor.h
1. corrected some owner-drawn buttons bugs
[wxWidgets.git] / include / wx / gtk1 / cursor.h
... / ...
CommitLineData
1/////////////////////////////////////////////////////////////////////////////
2// Name: cursor.h
3// Purpose:
4// Author: Robert Roebling
5// Id: $Id$
6// Copyright: (c) 1998 Robert Roebling
7// Licence: wxWindows licence
8/////////////////////////////////////////////////////////////////////////////
9
10
11#ifndef __GTKCURSORH__
12#define __GTKCURSORH__
13
14#ifdef __GNUG__
15#pragma interface
16#endif
17
18#include "wx/defs.h"
19#include "wx/object.h"
20#include "wx/gdicmn.h"
21
22//-----------------------------------------------------------------------------
23// wxCursor
24//-----------------------------------------------------------------------------
25
26class wxCursor: public wxObject
27{
28public:
29
30 wxCursor();
31 wxCursor( int cursorId );
32 wxCursor( const wxCursor &cursor );
33 ~wxCursor();
34 wxCursor& operator = ( const wxCursor& cursor );
35 bool operator == ( const wxCursor& cursor ) const;
36 bool operator != ( const wxCursor& cursor ) const;
37 bool Ok() const;
38
39 // implementation
40
41 GdkCursor *GetCursor() const;
42
43private:
44 DECLARE_DYNAMIC_CLASS(wxCursor)
45};
46
47#endif // __GTKCURSORH__