]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/mdi.cpp
VC++ /Wp64 warning fixes
[wxWidgets.git] / src / msw / mdi.cpp
index dad11b4bcd85680438a95f81a504f2a342536141..44718647dcdf54d69033c723715c5ca9d66ccfdd 100644 (file)
@@ -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,