if ( accel )
m_accels[n] = accel;
else
- m_accels.Remove(n);
+ m_accels.RemoveAt(n);
}
if ( IsAttached() )
{
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
if ( !wxMenuBarBase::Append(menu, title) )
return FALSE;
- menu->Attach(this);
+ // Already done in Append above
+ //menu->Attach(this);
m_titles.Add(title);