]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/xpmdecod.h
Compilation fix for old GCC versions.
[wxWidgets.git] / include / wx / xpmdecod.h
index 96cdab77323f1e0cc7e8367252d806558544e8bc..e6e5b30d35524010d21da6d1594fd810f60ff900 100644 (file)
@@ -36,6 +36,10 @@ public:
 #endif
     // Read directly from XPM data (as passed to wxBitmap ctor):
     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)); }
+#endif
 };
 
 #endif // wxUSE_IMAGE && wxUSE_XPM