Misc. Motif; removed duplicate wxICON; variant compile fix; added wxString form
of wxStripMenuCodes git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@843 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -390,6 +390,14 @@ char *wxStripMenuCodes (char *in, char *out)
|
||||
return tmpOut;
|
||||
}
|
||||
|
||||
wxString wxStripMenuCodes(const wxString& str)
|
||||
{
|
||||
char *buf = new char[str.Length() + 1];
|
||||
wxStripMenuCodes((char*) (const char*) str, buf);
|
||||
wxString str1(buf);
|
||||
delete[] buf;
|
||||
return str1;
|
||||
}
|
||||
|
||||
/*
|
||||
* Window search functions
|
||||
|
Reference in New Issue
Block a user