]>
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 #if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) 
  11 #pragma implementation "icon.h" 
  14 // For compilers that support precompilation, includes "wx.h". 
  15 #include "wx/wxprec.h" 
  19 //----------------------------------------------------------------------------- 
  21 //----------------------------------------------------------------------------- 
  23 IMPLEMENT_DYNAMIC_CLASS(wxIcon
,wxBitmap
) 
  25 wxIcon::wxIcon( const char **bits
, int WXUNUSED(width
), int WXUNUSED(height
) ) : 
  30 wxIcon::wxIcon( char **bits
, int WXUNUSED(width
), int WXUNUSED(height
) ) : 
  35 wxIcon::wxIcon() :  wxBitmap() 
  39 wxIcon::wxIcon( const wxIcon
& icon 
) : wxBitmap() 
  44 wxIcon
& wxIcon::operator = ( const wxIcon
& icon 
) 
  46     if (*this == icon
) return (*this); 
  51 void wxIcon::CopyFromBitmap(const wxBitmap
& bmp
) 
  53     wxIcon 
*icon 
= (wxIcon
*)(&bmp
);