X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/4d931bcca003e3616204c1eebc218ec6cd5b7029..37f6a080f43058b4575bece0eb11ad99fa63287d:/src/msw/mdi.cpp diff --git a/src/msw/mdi.cpp b/src/msw/mdi.cpp index dad11b4bcd..44718647dc 100644 --- a/src/msw/mdi.cpp +++ b/src/msw/mdi.cpp @@ -45,6 +45,7 @@ #include "wx/log.h" #endif +#include "wx/stockitem.h" #include "wx/mdi.h" #include "wx/msw/private.h" @@ -1401,9 +1402,8 @@ static void InsertWindowMenu(wxWindow *win, WXHMENU menu, HMENU subMenu) continue; } - wxString strHelp(_("&Help")); wxString strBuf(buf); - if ( wxStripMenuCodes(strBuf) == wxStripMenuCodes(strHelp) ) + if ( wxStripMenuCodes(strBuf) == wxGetStockLabel(wxID_HELP,false) ) { success = true; ::InsertMenu(hmenu, i, MF_BYPOSITION | MF_POPUP | MF_STRING,