Menu label consistency changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48023 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -1153,7 +1153,7 @@ bool wxLaunchDefaultBrowser(const wxString& urlOrig, int flags)
|
||||
wxChar *wxStripMenuCodes(const wxChar *in, wxChar *out)
|
||||
{
|
||||
#if wxUSE_MENUS
|
||||
wxString s = wxMenuItem::GetLabelFromText(in);
|
||||
wxString s = wxMenuItem::GetLabelText(in);
|
||||
#else
|
||||
wxString str(in);
|
||||
wxString s = wxStripMenuCodes(str);
|
||||
|
Reference in New Issue
Block a user