X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/e933b5bc365e0907a4f0fd15b4c49e4c96c2b59f..6968a3b87cee46f5c5af9b46e1ef97f17133cef7:/src/motif/icon.cpp diff --git a/src/motif/icon.cpp b/src/motif/icon.cpp index b0a0168c51..eaa688689b 100644 --- a/src/motif/icon.cpp +++ b/src/motif/icon.cpp @@ -30,13 +30,15 @@ wxIcon::wxIcon(const char bits[], int width, int height) (void) Create((void*) bits, wxBITMAP_TYPE_XBM_DATA, width, height, 1); } +#ifdef wxNEEDS_CHARPP // Create from XPM data wxIcon::wxIcon(char **data) { (void) Create((void*) data, wxBITMAP_TYPE_XPM_DATA, 0, 0, 0); } +#endif -wxIcon::wxIcon(const char **data) +wxIcon::wxIcon(const char* const* data) { (void) Create((void*) data, wxBITMAP_TYPE_XPM_DATA, 0, 0, 0); }