Despite the stated range of F1 through F12
http://docs.wxwidgets.org/2.8/wx_wxmenu.html#wxmenuappend
F10 seems to open the &File menu instead of toggling its panel's
visibility. This is possibly related to
http://trac.wxwidgets.org/ticket/2404
self._callbacks = callbacks
self._c = {}
for i,panelname in enumerate(sorted([p.managed_name for p in panels])):
- text = '%s\tF%d' % (panelname, i+5)
+ text = '%s\tF%d' % (panelname, i+4)
self._c[panelname] = self.AppendCheckItem(id=wx.ID_ANY, text=text)
for item in self._c.values():
item.Check()