m_titles.Insert(title, pos);
- menu->Attach(this);
-
if ( IsAttached() )
{
if ( !::InsertMenu(GetHmenu(), pos,
wxLogLastError(wxT("RemoveMenu"));
}
- menu->Detach();
-
#if wxUSE_ACCEL
if ( menu->HasAccels() )
{
{
wxMenuBarBase::Attach(frame);
- m_menuBarFrame = frame;
-
#if wxUSE_ACCEL
RebuildAccelTable();
#endif // wxUSE_ACCEL