X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/219f895a273cdf12ded3f79dbbcd1e076fe83901..50414e24a7aa082f2569666421d3ee1ea581a3cd:/include/wx/gtk1/icon.h?ds=inline diff --git a/include/wx/gtk1/icon.h b/include/wx/gtk1/icon.h index a79e4906ef..7596879cd9 100644 --- a/include/wx/gtk1/icon.h +++ b/include/wx/gtk1/icon.h @@ -36,13 +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); } + wxIcon(void); + wxIcon(const wxIcon& icon); + wxIcon(const wxIcon* icon); wxIcon( char **bits, int width=-1, int height=-1 ); - - 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; } };