Generalized compilation fix for old compilers.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42881 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -45,8 +45,7 @@ public:
|
||||
|
||||
// Initialize with XPM data
|
||||
wxBitmap(const char* const* data);
|
||||
#if defined(__BORLANDC__) || (defined (__GNUC__) && __GNUC__ < 3)
|
||||
// needed for Borland 5.5
|
||||
#ifdef wxNEEDS_CHARPP
|
||||
wxBitmap(char** data)
|
||||
{
|
||||
*this = wxBitmap(wx_const_cast(const char* const*, data));
|
||||
|
Reference in New Issue
Block a user