]> git.saurik.com Git - wxWidgets.git/blob - include/wx/gtk/icon.h
Big color update with the newest information
[wxWidgets.git] / include / wx / gtk / icon.h
1 /////////////////////////////////////////////////////////////////////////////
2 // Name: icon.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 __GTKICONH__
12 #define __GTKICONH__
13
14 #ifdef __GNUG__
15 #pragma interface
16 #endif
17
18 #include "wx/defs.h"
19 #include "wx/object.h"
20 #include "wx/bitmap.h"
21
22 //-----------------------------------------------------------------------------
23 // classes
24 //-----------------------------------------------------------------------------
25
26 class wxIcon;
27
28 //-----------------------------------------------------------------------------
29 // wxIcon
30 //-----------------------------------------------------------------------------
31
32 class wxIcon: public wxBitmap
33 {
34 DECLARE_DYNAMIC_CLASS(wxIcon)
35
36 public:
37
38 wxIcon(void);
39 wxIcon(const wxIcon& icon);
40 wxIcon(const wxIcon* icon);
41 wxIcon( char **bits, int width=-1, int height=-1 );
42
43 wxIcon& operator = (const wxIcon& icon);
44 inline bool operator == (const wxIcon& icon) { return m_refData == icon.m_refData; }
45 inline bool operator != (const wxIcon& icon) { return m_refData != icon.m_refData; }
46 };
47
48
49 #endif // __GTKICONH__