]>
git.saurik.com Git - wxWidgets.git/blob - src/x11/icon.cpp
1 /////////////////////////////////////////////////////////////////////////////
3 // Purpose: wxIcon class
4 // Author: Julian Smart
8 // Copyright: (c) Julian Smart
9 // Licence: wxWindows licence
10 /////////////////////////////////////////////////////////////////////////////
13 #include "wx/window.h"
15 #include "wx/x11/private.h"
17 //-----------------------------------------------------------------------------
19 //-----------------------------------------------------------------------------
21 IMPLEMENT_DYNAMIC_CLASS(wxIcon
,wxBitmap
)
23 wxIcon::wxIcon( const char **bits
, int WXUNUSED(width
), int WXUNUSED(height
) ) :
28 wxIcon::wxIcon( char **bits
, int WXUNUSED(width
), int WXUNUSED(height
) ) :
33 wxIcon::wxIcon() : wxBitmap()
37 void wxIcon::CopyFromBitmap(const wxBitmap
& bmp
)
39 wxIcon
*icon
= (wxIcon
*)(&bmp
);