fix for Borland 5.5
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42660 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user