]> git.saurik.com Git - wxWidgets.git/blame - include/wx/gtk1/cursor.h
fixed wxComboBox::Clear to clear stored value
[wxWidgets.git] / include / wx / gtk1 / cursor.h
CommitLineData
c801d85f
KB
1/////////////////////////////////////////////////////////////////////////////
2// Name: cursor.h
3// Purpose:
4// Author: Robert Roebling
dbf858b5
RR
5// Id: $Id$
6// Copyright: (c) 1998 Robert Roebling
65571936 7// Licence: wxWindows licence
c801d85f
KB
8/////////////////////////////////////////////////////////////////////////////
9
c801d85f
KB
10#ifndef __GTKCURSORH__
11#define __GTKCURSORH__
12
c801d85f
KB
13#include "wx/defs.h"
14#include "wx/object.h"
15#include "wx/gdicmn.h"
16
7eff657c
JS
17#if wxUSE_IMAGE
18#include "wx/image.h"
19#endif
20
c801d85f
KB
21//-----------------------------------------------------------------------------
22// wxCursor
23//-----------------------------------------------------------------------------
24
20123d49 25class WXDLLIMPEXP_CORE wxCursor: public wxObject
c801d85f 26{
20e05ffb 27public:
c801d85f 28
8bbe427f 29 wxCursor();
debe6624 30 wxCursor( int cursorId );
c801d85f 31 wxCursor( const wxCursor &cursor );
7eff657c
JS
32#if wxUSE_IMAGE
33 wxCursor( const wxImage & image );
34#endif
a1db952f
VS
35 wxCursor( const char bits[], int width, int height,
36 int hotSpotX=-1, int hotSpotY=-1,
37 const char maskBits[]=0, wxColour *fg=0, wxColour *bg=0 );
8bbe427f 38 ~wxCursor();
c801d85f 39 wxCursor& operator = ( const wxCursor& cursor );
8bbe427f
VZ
40 bool operator == ( const wxCursor& cursor ) const;
41 bool operator != ( const wxCursor& cursor ) const;
42 bool Ok() const;
43
20e05ffb
RR
44 // implementation
45
8bbe427f 46 GdkCursor *GetCursor() const;
c801d85f 47
20e05ffb
RR
48private:
49 DECLARE_DYNAMIC_CLASS(wxCursor)
c801d85f
KB
50};
51
52#endif // __GTKCURSORH__