X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/401ec7b639629b0c316f84b26d52897829dcf609..324511ce076e9646cf6a4bbced7af72373b4226e:/include/wx/gtk1/icon.h diff --git a/include/wx/gtk1/icon.h b/include/wx/gtk1/icon.h index 2d9ee37522..1611ffe6dd 100644 --- a/include/wx/gtk1/icon.h +++ b/include/wx/gtk1/icon.h @@ -36,16 +36,11 @@ class wxIcon: public wxBitmap public: - wxIcon(void) {}; - - inline wxIcon(const wxIcon& icon) { Ref(icon); } - inline wxIcon(const wxIcon* icon) { if (icon) Ref(*icon); } + wxIcon(void); + wxIcon(const wxIcon& icon); + wxIcon(const wxIcon* icon); + wxIcon( char **bits, int width=-1, int height=-1 ); - // 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; } inline bool operator == (const wxIcon& icon) { return m_refData == icon.m_refData; } inline bool operator != (const wxIcon& icon) { return m_refData != icon.m_refData; } };