]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/mdi.cpp
fixes for s.Printf(s) crashes
[wxWidgets.git] / src / msw / mdi.cpp
index e55c7f6b18a0e28256838688d9dbfae405a4a23f..4079d054c3b5fc5bade8b64cf1488b0b1cdaedd7 100644 (file)
@@ -1377,6 +1377,12 @@ static void InsertWindowMenu(wxWindow *win, WXHMENU menu, HMENU subMenu)
                 continue;
             }
 
                 continue;
             }
 
+            if ( wxStripMenuCodes(wxString(buf)).IsSameAs(_("Window")) )
+            {
+               success = true;
+               break;
+            } 
+
             if ( wxStripMenuCodes(wxString(buf)).IsSameAs(_("Help")) )
             {
                 success = true;
             if ( wxStripMenuCodes(wxString(buf)).IsSameAs(_("Help")) )
             {
                 success = true;