X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/71451a6d16cdf35293089a4dfb235604769c18c6..4f2511d706e5274a34e1521e11c1b95fed735b42:/include/wx/generic/icon.h?ds=sidebyside diff --git a/include/wx/generic/icon.h b/include/wx/generic/icon.h index 9a6976f691..b73d919c9c 100644 --- a/include/wx/generic/icon.h +++ b/include/wx/generic/icon.h @@ -27,8 +27,10 @@ class WXDLLIMPEXP_CORE wxIcon: public wxBitmap public: wxIcon(); - wxIcon( const char **bits, int width=-1, int height=-1 ); - wxIcon( char **bits, int width=-1, int height=-1 ); + wxIcon(const char* const* bits); +#ifdef wxNEEDS_CHARPP + wxIcon(char **bits); +#endif // For compatibility with wxMSW where desired size is sometimes required to // distinguish between multiple icons in a resource. @@ -44,11 +46,6 @@ public: { } - bool operator==(const wxIcon& icon) const - { return m_refData == icon.m_refData; } - bool operator!=(const wxIcon& icon) const - { return !(*this == icon); } - // create from bitmap (which should have a mask unless it's monochrome): // there shouldn't be any implicit bitmap -> icon conversion (i.e. no // ctors, assignment operators...), but it's ok to have such function