X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/6c9a19aabab3a878b565e6c2a5f2a3824277c4dc..57fd9bb2394e62823417e6068f81a5afdbd47d92:/src/msw/menu.cpp?ds=sidebyside diff --git a/src/msw/menu.cpp b/src/msw/menu.cpp index b3005be6cc..f3c898b413 100644 --- a/src/msw/menu.cpp +++ b/src/msw/menu.cpp @@ -799,7 +799,7 @@ wxMenu *wxMenuBar::Remove(size_t pos) Refresh(); } - m_titles.Remove(pos); + m_titles.RemoveAt(pos); return menu; }