1 |
#Boa:MDIParent:fraggleViewport |
#Boa:MDIParent:fraggleViewport |
2 |
|
|
3 |
|
import os |
4 |
from wxPython.wx import * |
from wxPython.wx import * |
5 |
|
|
6 |
import fraggleDialogPrefs |
import fraggleDialogPrefs |
18 |
def _init_coll_menu1_Items(self, parent): |
def _init_coll_menu1_Items(self, parent): |
19 |
# generated method, don't edit |
# generated method, don't edit |
20 |
|
|
21 |
parent.Append(helpString='Configure Netfraggle', |
if os.name == "posix": |
22 |
id=wxID_FRAGGLEVIEWPORTMENU1FPREFS, item='Preferences', |
parent.Append(helpString='Configure Netfraggle', |
23 |
kind=wxITEM_NORMAL) |
id=wxID_FRAGGLEVIEWPORTMENU1FPREFS, item='Preferences', |
24 |
parent.Append(helpString='Exit Netfraggle', |
kind=wxITEM_NORMAL) |
25 |
id=wxID_FRAGGLEVIEWPORTMENU1ITEMS1, item='Exit', |
parent.Append(helpString='Exit Netfraggle', |
26 |
kind=wxITEM_NORMAL) |
id=wxID_FRAGGLEVIEWPORTMENU1ITEMS1, item='Exit', |
27 |
|
kind=wxITEM_NORMAL) |
28 |
|
elif os.name == "nt": |
29 |
|
parent.Append(wxID_FRAGGLEVIEWPORTMENU1FPREFS, 'Configure Netfraggle', "", wxITEM_NORMAL) |
30 |
|
parent.Append(wxID_FRAGGLEVIEWPORTMENU1FPREFS, 'Exit Netfraggle', "", wxITEM_NORMAL) |
31 |
|
|
32 |
EVT_MENU(self, wxID_FRAGGLEVIEWPORTMENU1FPREFS, self.OnMenu1items0Menu) |
EVT_MENU(self, wxID_FRAGGLEVIEWPORTMENU1FPREFS, self.OnMenu1items0Menu) |
33 |
EVT_MENU(self, wxID_FRAGGLEVIEWPORTMENU1ITEMS1, self.OnMenu1items1Menu) |
EVT_MENU(self, wxID_FRAGGLEVIEWPORTMENU1ITEMS1, self.OnMenu1items1Menu) |
34 |
|
|