X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/fd02ae23c24c6a3a07de4e02c93cbfb9812199b4..3848ffef9f9555f6c63daebd0f4e6a1fe2d183cc:/include/wx/gtk1/icon.h diff --git a/include/wx/gtk1/icon.h b/include/wx/gtk1/icon.h index 57951a4e38..a79e4906ef 100644 --- a/include/wx/gtk1/icon.h +++ b/include/wx/gtk1/icon.h @@ -40,10 +40,8 @@ public: inline wxIcon(const wxIcon& icon) { Ref(icon); } inline wxIcon(const wxIcon* icon) { if (icon) Ref(*icon); } - - wxIcon( char **bits, const int width = -1, const int height = -1 ) : - wxBitmap( bits ) {}; - + wxIcon( char **bits, int width=-1, int height=-1 ); + 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; }