]>
git.saurik.com Git - wxWidgets.git/blob - include/wx/gtk/icon.h
1 /////////////////////////////////////////////////////////////////////////////
4 // Author: Robert Roebling
6 // Copyright: (c) 1998 Robert Roebling
7 // Licence: wxWindows licence
8 /////////////////////////////////////////////////////////////////////////////
19 #include "wx/object.h"
20 #include "wx/bitmap.h"
22 //-----------------------------------------------------------------------------
24 //-----------------------------------------------------------------------------
28 //-----------------------------------------------------------------------------
30 //-----------------------------------------------------------------------------
32 class wxIcon
: public wxBitmap
34 DECLARE_DYNAMIC_CLASS(wxIcon
)
39 wxIcon( const wxIcon
& icon
);
40 wxIcon( const char **bits
, int width
=-1, int height
=-1 );
41 wxIcon( char **bits
, int width
=-1, int height
=-1 );
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
; }
49 #endif // __GTKICONH__