]>
git.saurik.com Git - wxWidgets.git/blob - src/gtk1/icon.cpp
1 /////////////////////////////////////////////////////////////////////////////
4 // Author: Robert Roebling
6 // Copyright: (c) 1998 Robert Roebling
7 // Licence: wxWindows licence
8 /////////////////////////////////////////////////////////////////////////////
10 // For compilers that support precompilation, includes "wx.h".
11 #include "wx/wxprec.h"
15 //-----------------------------------------------------------------------------
17 //-----------------------------------------------------------------------------
19 IMPLEMENT_DYNAMIC_CLASS(wxIcon
,wxBitmap
)
21 wxIcon::wxIcon( const char **bits
, int WXUNUSED(width
), int WXUNUSED(height
) ) :
26 wxIcon::wxIcon( char **bits
, int WXUNUSED(width
), int WXUNUSED(height
) ) :
31 wxIcon::wxIcon() : wxBitmap()
35 void wxIcon::CopyFromBitmap(const wxBitmap
& bmp
)
37 wxIcon
*icon
= (wxIcon
*)(&bmp
);