X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/70bf3295928711b17e5931a492104c160546544e..c9c1faa490a451cdf42b35b92bfcc2c55d22bbe9:/include/wx/image.h diff --git a/include/wx/image.h b/include/wx/image.h index b40f7d305d..b09aaf2ed1 100644 --- a/include/wx/image.h +++ b/include/wx/image.h @@ -233,8 +233,8 @@ public: bool Create( const char* const* xpmData ); #ifdef __BORLANDC__ // needed for Borland 5.5 - wxImage( char** xpmData ) { Create(wx_const_cast(const char* const*, xpmData)); } - bool Create( char** xpmData ) { return Create(wx_const_cast(const char* const*, xpmData)); } + wxImage( char** xpmData ) { Create(const_cast(xpmData)); } + bool Create( char** xpmData ) { return Create(const_cast(xpmData)); } #endif void Destroy();