X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/53a2db124c633f80bdb16336084262037d879a2c..e276acb530f41f0b87c4576c0215201a8a767dff:/include/wx/xpmdecod.h?ds=sidebyside diff --git a/include/wx/xpmdecod.h b/include/wx/xpmdecod.h index 82b80fa3d7..00e33a728f 100644 --- a/include/wx/xpmdecod.h +++ b/include/wx/xpmdecod.h @@ -38,7 +38,7 @@ public: wxImage ReadData(const char* const* xpm_data); #ifdef __BORLANDC__ // needed for Borland 5.5 - wxImage ReadData(char** xpm_data) { return ReadData(wx_const_cast(const char* const*, xpm_data)); } + wxImage ReadData(char** xpm_data) { return ReadData(const_cast(xpm_data)); } #endif };