--- nfo/projects/netfraggle/bin/fraggleViewport.py 2004/08/25 16:56:59 1.2 +++ nfo/projects/netfraggle/bin/fraggleViewport.py 2004/08/25 17:43:12 1.3 @@ -1,5 +1,6 @@ #Boa:MDIParent:fraggleViewport +import wx from wxPython.wx import * import fraggleDialogPrefs @@ -17,12 +18,10 @@ def _init_coll_menu1_Items(self, parent): # generated method, don't edit - 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) + parent.Append(wxID_FRAGGLEVIEWPORTMENU1FPREFS, '&Preferences', "", + wx.ITEM_NORMAL) + parent.Append(wxID_FRAGGLEVIEWPORTMENU1ITEMS1, '&Exit Netfraggle', "", + wx.ITEM_NORMAL) EVT_MENU(self, wxID_FRAGGLEVIEWPORTMENU1FPREFS, self.OnMenu1items0Menu) EVT_MENU(self, wxID_FRAGGLEVIEWPORTMENU1ITEMS1, self.OnMenu1items1Menu)