]>
git.saurik.com Git - wxWidgets.git/blob - src/mgl/icon.cpp
5af736371a9e158b0f8c715fe6203f3856071e46
1 /////////////////////////////////////////////////////////////////////////////
3 // Author: Vaclav Slavik
5 // Copyright: (c) 2001-2002 SciTech Software, Inc. (www.scitechsoft.com)
6 // Licence: wxWindows licence
7 /////////////////////////////////////////////////////////////////////////////
9 // For compilers that support precompilation, includes "wx.h".
10 #include "wx/wxprec.h"
18 //-----------------------------------------------------------------------------
20 //-----------------------------------------------------------------------------
22 IMPLEMENT_DYNAMIC_CLASS(wxIcon
, wxBitmap
)
24 wxIcon::wxIcon(const char **bits
, int WXUNUSED(width
), int WXUNUSED(height
)) :
29 wxIcon::wxIcon(char **bits
, int WXUNUSED(width
), int WXUNUSED(height
)) :
34 wxIcon::wxIcon(const wxIcon
& icon
) : wxBitmap()
39 wxIcon
& wxIcon::operator = (const wxIcon
& icon
)
47 void wxIcon::CopyFromBitmap(const wxBitmap
& bmp
)
49 wxIcon
*icon
= (wxIcon
*)(&bmp
);