MYcopystring is not required anymore when compat2.8 is off
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57883 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -294,9 +294,10 @@ wxString wxPathList::FindAbsoluteValidPath (const wxString& file) const
|
||||
}
|
||||
|
||||
// ----------------------------------------------------------------------------
|
||||
// miscellaneous global functions (TOFIX!)
|
||||
// miscellaneous global functions
|
||||
// ----------------------------------------------------------------------------
|
||||
|
||||
#if WXWIN_COMPATIBILITY_2_8
|
||||
static inline wxChar* MYcopystring(const wxString& s)
|
||||
{
|
||||
wxChar* copy = new wxChar[s.length() + 1];
|
||||
@@ -309,6 +310,7 @@ static inline CharType* MYcopystring(const CharType* s)
|
||||
CharType* copy = new CharType[wxStrlen(s) + 1];
|
||||
return wxStrcpy(copy, s);
|
||||
}
|
||||
#endif
|
||||
|
||||
|
||||
bool
|
||||
|
Reference in New Issue
Block a user