]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/menu.cpp
failed attempt to change the default action for GTK dnd (nothing changed finally)
[wxWidgets.git] / src / msw / menu.cpp
index 4de484376f65f1a06351c05a66082f4dee649652..4721abb4311543363bcc483ed07c8e0ff4711d1c 100644 (file)
@@ -172,7 +172,7 @@ void wxMenu::UpdateAccel(wxMenuItem *item)
             if ( accel )
                 m_accels[n] = accel;
             else
-                m_accels.Remove(n);
+                m_accels.RemoveAt(n);
         }
 
         if ( IsAttached() )
@@ -317,7 +317,7 @@ wxMenuItem *wxMenu::DoRemove(wxMenuItem *item)
     {
         delete m_accels[n];
 
-        m_accels.Remove(n);
+        m_accels.RemoveAt(n);
     }
     //else: this item doesn't have an accel, nothing to do
 #endif // wxUSE_ACCEL