X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/401ec7b639629b0c316f84b26d52897829dcf609..ef366d323bd723d04811993ae68474522985bb65:/include/wx/gtk/icon.h diff --git a/include/wx/gtk/icon.h b/include/wx/gtk/icon.h index 2d9ee37522..7596879cd9 100644 --- a/include/wx/gtk/icon.h +++ b/include/wx/gtk/icon.h @@ -36,16 +36,12 @@ class wxIcon: public wxBitmap public: - wxIcon(void) {}; - - inline wxIcon(const wxIcon& icon) { Ref(icon); } - inline wxIcon(const wxIcon* icon) { if (icon) Ref(*icon); } - - // Don't change this. Robert. - wxIcon( char **bits, int WXUNUSED(width), int WXUNUSED(height) ) : - wxBitmap( bits ) {}; - - inline wxIcon& operator = (const wxIcon& icon) { if (*this == icon) return (*this); Ref(icon); return *this; } + wxIcon(void); + wxIcon(const wxIcon& icon); + wxIcon(const wxIcon* icon); + wxIcon( char **bits, int width=-1, int height=-1 ); + + wxIcon& operator = (const wxIcon& icon); inline bool operator == (const wxIcon& icon) { return m_refData == icon.m_refData; } inline bool operator != (const wxIcon& icon) { return m_refData != icon.m_refData; } };