Fix for the Demos menu

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43987 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn
2006-12-15 23:15:59 +00:00
parent 8e509c4b0c
commit 0d8a01fdaa

View File

@@ -1219,7 +1219,7 @@ class wxPythonDemo(wx.Frame):
# Make a Demo menu
menu = wx.Menu()
for item in _treeList:
for item in _treeList[:-1]:
submenu = wx.Menu()
for childItem in item[1]:
mi = submenu.Append(-1, childItem)