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