--- nfo/projects/netfraggle/bin/fraggleViewport.py 2004/08/25 17:43:12 1.3 +++ nfo/projects/netfraggle/bin/fraggleViewport.py 2004/08/25 18:33:43 1.4 @@ -1,6 +1,5 @@ #Boa:MDIParent:fraggleViewport -import wx from wxPython.wx import * import fraggleDialogPrefs @@ -18,10 +17,12 @@ def _init_coll_menu1_Items(self, parent): # generated method, don't edit - parent.Append(wxID_FRAGGLEVIEWPORTMENU1FPREFS, '&Preferences', "", - wx.ITEM_NORMAL) - parent.Append(wxID_FRAGGLEVIEWPORTMENU1ITEMS1, '&Exit Netfraggle', "", - wx.ITEM_NORMAL) + parent.Append(helpString='Configure Netfraggle', + id=wxID_FRAGGLEVIEWPORTMENU1FPREFS, item='Preferences', + kind=wxITEM_NORMAL) + parent.Append(helpString='Exit Netfraggle', + id=wxID_FRAGGLEVIEWPORTMENU1ITEMS1, item='Exit', + kind=wxITEM_NORMAL) EVT_MENU(self, wxID_FRAGGLEVIEWPORTMENU1FPREFS, self.OnMenu1items0Menu) EVT_MENU(self, wxID_FRAGGLEVIEWPORTMENU1ITEMS1, self.OnMenu1items1Menu) @@ -70,3 +71,4 @@ def OnMenu1items1Menu(self, event): self.Destroy() event.Skip() +