X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/c801d85f158c4cba50b588807daabdcbd0ed3853..362c669367af6c1b024d531c31a76692a6e9ad13:/include/wx/gtk/icon.h?ds=sidebyside diff --git a/include/wx/gtk/icon.h b/include/wx/gtk/icon.h index edb7ab07fe..a79e4906ef 100644 --- a/include/wx/gtk/icon.h +++ b/include/wx/gtk/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 WXUNUSED(width), const int WXUNUSED(height) ) : - 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; }