git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35198
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
#endif //WX_PRECOMP
#include "wx/generic/mdig.h"
+#include "wx/stockitem.h"
enum MDI_MENU_ID
{
{
if (pMenuBar && m_pWindowMenu)
{
- int pos = pMenuBar->FindMenu(wxStripMenuCodes(wxString(_("&Help"))));
+ int pos = pMenuBar->FindMenu(wxGetStockLabel(wxID_HELP,false));
if (pos == wxNOT_FOUND)
{
pMenuBar->Append(m_pWindowMenu, _("&Window"));
#include "wx/log.h"
#endif
+#include "wx/stockitem.h"
#include "wx/mdi.h"
#include "wx/msw/private.h"
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,