replace wx_{const,static,reinterpret}_cast with their standard C++ equivalents
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56644 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -91,7 +91,7 @@ public:
|
||||
// needed for old GCC
|
||||
wxBitmap(char** data)
|
||||
{
|
||||
*this = wxBitmap(wx_const_cast(const char* const*, data));
|
||||
*this = wxBitmap(const_cast<const char* const*>(data));
|
||||
}
|
||||
#endif
|
||||
|
||||
|
@@ -46,7 +46,7 @@ public:
|
||||
);
|
||||
wxIcon(const char* const* ppData) { CreateIconFromXpm(ppData); }
|
||||
#ifdef wxNEEDS_CHARPP
|
||||
wxIcon(char** ppData) { CreateIconFromXpm(wx_const_cast(const char* const*, ppData)); }
|
||||
wxIcon(char** ppData) { CreateIconFromXpm(const_cast<const char* const*>(ppData)); }
|
||||
#endif
|
||||
wxIcon( const wxString& rName
|
||||
,wxBitmapType lFlags = wxICON_DEFAULT_TYPE
|
||||
|
Reference in New Issue
Block a user