]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/menu.cpp
fix for IsAlive() called after Kill() or Exit()
[wxWidgets.git] / src / msw / menu.cpp
index b3005be6cc512857ecdbd38e53bbcb5bbe3190dc..f3c898b413d3fd4bf032af08dda1a7859e0fbb31 100644 (file)
@@ -799,7 +799,7 @@ wxMenu *wxMenuBar::Remove(size_t pos)
         Refresh();
     }
 
-    m_titles.Remove(pos);
+    m_titles.RemoveAt(pos);
 
     return menu;
 }