]>
git.saurik.com Git - wxWidgets.git/blob - src/mgl/icon.cpp
   1 ///////////////////////////////////////////////////////////////////////////// 
   3 // Author:      Vaclav Slavik 
   5 // Copyright:   (c) 2001-2002 SciTech Software, Inc. (www.scitechsoft.com) 
   6 // Licence:     wxWindows licence 
   7 ///////////////////////////////////////////////////////////////////////////// 
   9 #if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) 
  10 #pragma implementation "icon.h" 
  13 // For compilers that support precompilation, includes "wx.h". 
  14 #include "wx/wxprec.h" 
  22 //----------------------------------------------------------------------------- 
  24 //----------------------------------------------------------------------------- 
  26 IMPLEMENT_DYNAMIC_CLASS(wxIcon
, wxBitmap
) 
  28 wxIcon::wxIcon(const char **bits
, int WXUNUSED(width
), int WXUNUSED(height
)) : 
  33 wxIcon::wxIcon(char **bits
, int WXUNUSED(width
), int WXUNUSED(height
)) : 
  38 wxIcon::wxIcon(const wxIcon
& icon
) : wxBitmap() 
  43 wxIcon
& wxIcon::operator = (const wxIcon
& icon
) 
  51 void wxIcon::CopyFromBitmap(const wxBitmap
& bmp
) 
  53     wxIcon 
*icon 
= (wxIcon
*)(&bmp
);