Quick and dirty fix for building with COMPATIBILITY_2_4 off.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21580 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -557,7 +557,9 @@ wxChar *wxStripMenuCodes(const wxChar *in, wxChar *out)
|
||||
}
|
||||
else
|
||||
{
|
||||
out = copystring(s);
|
||||
// MYcopystring - for easier search...
|
||||
out = new wxChar[s.length() + 1];
|
||||
wxStrcpy(out, s.c_str());
|
||||
}
|
||||
|
||||
return out;
|
||||
|
Reference in New Issue
Block a user