X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/debe6624c1e9d4bf3243381153d1e173c849bcd8..c67daf87774c71ae9f73af9969008af220e52a11:/include/wx/gtk/icon.h diff --git a/include/wx/gtk/icon.h b/include/wx/gtk/icon.h index 1f5907bb2a..7596879cd9 100644 --- a/include/wx/gtk/icon.h +++ b/include/wx/gtk/icon.h @@ -36,15 +36,12 @@ class wxIcon: public wxBitmap public: - wxIcon(void) {}; + wxIcon(void); + wxIcon(const wxIcon& icon); + wxIcon(const wxIcon* icon); + wxIcon( char **bits, int width=-1, int height=-1 ); - inline wxIcon(const wxIcon& icon) { Ref(icon); } - inline wxIcon(const wxIcon* icon) { if (icon) Ref(*icon); } - - wxIcon( char **bits, int width = -1, int height = -1 ) : - wxBitmap( bits ) {}; - - inline wxIcon& operator = (const wxIcon& icon) { if (*this == icon) return (*this); Ref(icon); return *this; } + 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; } };