def add_to_menu(self, parent, menu, controller):

        id  = wx.NewId()
        sub = self.create_menu(parent, controller)

        # fixme: Nasty hack to allow enabling/disabling of menus.
        sub._id = id
        sub._menu = menu

        menu.AppendMenu(id, self.name, sub)

        return
A non-existent flatpage raises 404 when served through a view and should not add a slash
dataset/ETHPy150Open enthought/pyface/pyface/ui/wx/action/menu_manager.py/MenuManager.add_to_menu--crossover with--dataset/ETHPy150Open AppScale/appscale/AppServer/lib/django-1.5/django/contrib/flatpages/tests/views.py/FlatpageViewAppendSlashTests.test_redirect_view_non_existent_flatpage