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:
Julian Smart
1998-10-16 14:38:52 +00:00
parent 85ee3474b7
commit 47bc106012
18 changed files with 770 additions and 79 deletions

View File

@@ -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