Translate '&Help' to '&' for italian Windows only

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35180 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Michael Wetherell
2005-08-12 15:29:57 +00:00
parent 0725108f48
commit 4d931bcca0
8 changed files with 71 additions and 5 deletions

View File

@@ -1401,8 +1401,9 @@ static void InsertWindowMenu(wxWindow *win, WXHMENU menu, HMENU subMenu)
continue;
}
if ( wxStripMenuCodes(wxString(buf)).IsSameAs(_("Help")) )
wxString strHelp(_("&Help"));
wxString strBuf(buf);
if ( wxStripMenuCodes(strBuf) == wxStripMenuCodes(strHelp) )
{
success = true;
::InsertMenu(hmenu, i, MF_BYPOSITION | MF_POPUP | MF_STRING,