X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/53a2db124c633f80bdb16336084262037d879a2c..4d8988f7b1b610de65f1c9ea019427e071c377fe:/include/wx/xpmdecod.h 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 };