X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/71451a6d16cdf35293089a4dfb235604769c18c6..8a31648287be0ef976f133de2786b137f1e98340:/src/generic/icon.cpp 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() {