X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/cbea3ec6ae2cd8c8d477c6f04a09ca8a1fa1ab96..e143fb636d50d5802dcc8c7c2e9e8e2944afa467:/include/wx/msw/icon.h diff --git a/include/wx/msw/icon.h b/include/wx/msw/icon.h index 36ec8479e5..21f8abd6b4 100644 --- a/include/wx/msw/icon.h +++ b/include/wx/msw/icon.h @@ -50,7 +50,7 @@ public: // from XPM data wxIcon(const char* const* data) { CreateIconFromXpm(data); } #ifdef wxNEEDS_CHARPP - wxIcon(char **data) { CreateIconFromXpm(wx_const_cast(const char* const*, data)); } + wxIcon(char **data) { CreateIconFromXpm(const_cast(data)); } #endif // from resource/file wxIcon(const wxString& name,