1 |
#Boa:MDIParent:fraggleViewport |
#Boa:MDIParent:fraggleViewport |
2 |
|
|
|
import wx |
|
3 |
from wxPython.wx import * |
from wxPython.wx import * |
4 |
|
|
5 |
import fraggleDialogPrefs |
import fraggleDialogPrefs |
17 |
def _init_coll_menu1_Items(self, parent): |
def _init_coll_menu1_Items(self, parent): |
18 |
# generated method, don't edit |
# generated method, don't edit |
19 |
|
|
20 |
parent.Append(wxID_FRAGGLEVIEWPORTMENU1FPREFS, '&Preferences', "", |
parent.Append(helpString='Configure Netfraggle', |
21 |
wx.ITEM_NORMAL) |
id=wxID_FRAGGLEVIEWPORTMENU1FPREFS, item='Preferences', |
22 |
parent.Append(wxID_FRAGGLEVIEWPORTMENU1ITEMS1, '&Exit Netfraggle', "", |
kind=wxITEM_NORMAL) |
23 |
wx.ITEM_NORMAL) |
parent.Append(helpString='Exit Netfraggle', |
24 |
|
id=wxID_FRAGGLEVIEWPORTMENU1ITEMS1, item='Exit', |
25 |
|
kind=wxITEM_NORMAL) |
26 |
EVT_MENU(self, wxID_FRAGGLEVIEWPORTMENU1FPREFS, self.OnMenu1items0Menu) |
EVT_MENU(self, wxID_FRAGGLEVIEWPORTMENU1FPREFS, self.OnMenu1items0Menu) |
27 |
EVT_MENU(self, wxID_FRAGGLEVIEWPORTMENU1ITEMS1, self.OnMenu1items1Menu) |
EVT_MENU(self, wxID_FRAGGLEVIEWPORTMENU1ITEMS1, self.OnMenu1items1Menu) |
28 |
|
|
71 |
def OnMenu1items1Menu(self, event): |
def OnMenu1items1Menu(self, event): |
72 |
self.Destroy() |
self.Destroy() |
73 |
event.Skip() |
event.Skip() |
74 |
|
|