X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/71451a6d16cdf35293089a4dfb235604769c18c6..9ed3454e3d06f99510cd203419c40c46a0370c08:/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() {