X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/71451a6d16cdf35293089a4dfb235604769c18c6..cd95f7e65c4e1ee61a5d90eb13687ff468cb13ad:/src/generic/icon.cpp?ds=sidebyside diff --git a/src/generic/icon.cpp b/src/generic/icon.cpp index 0e79576a15..e545457f35 100644 --- a/src/generic/icon.cpp +++ b/src/generic/icon.cpp @@ -24,15 +24,17 @@ IMPLEMENT_DYNAMIC_CLASS(wxIcon, wxBitmap) -wxIcon::wxIcon( const char **bits, int WXUNUSED(width), int WXUNUSED(height) ) : +wxIcon::wxIcon(const char* const* bits) : wxBitmap( bits ) { } -wxIcon::wxIcon( char **bits, int WXUNUSED(width), int WXUNUSED(height) ) : +#ifdef wxNEEDS_CHARPP +wxIcon::wxIcon(char **bits) : wxBitmap( bits ) { } +#endif wxIcon::wxIcon() : wxBitmap() {