]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/xpmdecod.h
add support for wxStrnlen for those platforms where it's available
[wxWidgets.git] / include / wx / xpmdecod.h
index 82b80fa3d7aee487e91be22bda0f628c02d12470..00e33a728fa7fa18357095ac96157c4f9a789d32 100644 (file)
@@ -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<const char* const*>(xpm_data)); }
 #endif
 };