X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/55ccdb93e4ae4b606a4068cb37492c1ec3ed77a6..760be3f7cb386924420a87045af761bbc964f041:/include/wx/generic/icon.h?ds=sidebyside diff --git a/include/wx/generic/icon.h b/include/wx/generic/icon.h index 03ffbbef90..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.