X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/2e57a9efc538d71bda72c6c1b0acd6bd8ad2b771..893758d507abf66a429666b9f0b2c1baa195b398:/src/os2/menu.cpp diff --git a/src/os2/menu.cpp b/src/os2/menu.cpp index e93d89adc4..186744bf97 100644 --- a/src/os2/menu.cpp +++ b/src/os2/menu.cpp @@ -244,7 +244,7 @@ void wxMenu::UpdateAccel( if (pAccel) m_vAccels[n] = pAccel; else - m_vAccels.Remove(n); + m_vAccels.RemoveAt(n); } if (IsAttached()) @@ -448,7 +448,7 @@ wxMenuItem* wxMenu::DoRemove( if (n != wxNOT_FOUND) { delete m_vAccels[n]; - m_vAccels.Remove(n); + m_vAccels.RemoveAt(n); } #endif // wxUSE_ACCEL