}
}
-/* static */
-wxString wxMenuItemBase::GetLabelText(const wxString& text)
-{
- return wxStripMenuCodes(text);
-}
-
// ----------------------------------------------------------------------------
// wxMenuItemBase
// ----------------------------------------------------------------------------
wxMenuItemDisarmCallback, (XtPointer) this);
}
}
- else if (GetId() == wxID_SEPARATOR)
+ else if (IsSeparator())
{
; // Nothing
event.SetEventObject(item->GetMenuBar()->GetMenuBarFrame());
item->GetMenuBar()->GetMenuBarFrame()
- ->GetEventHandler()->ProcessEvent(event);
+ ->HandleWindowEvent(event);
}
// this is the child of a popup menu
else if (item->GetTopMenu())
menuEvent.SetEventObject(item->GetMenuBar()->GetMenuBarFrame());
item->GetMenuBar()->GetMenuBarFrame()
- ->GetEventHandler()->ProcessEvent(menuEvent);
+ ->HandleWindowEvent(menuEvent);
}
}
}
menuEvent.SetEventObject(item->GetMenuBar()->GetMenuBarFrame());
item->GetMenuBar()->GetMenuBarFrame()
- ->GetEventHandler()->ProcessEvent(menuEvent);
+ ->HandleWindowEvent(menuEvent);
}
}
}