/[cvs]/nfo/projects/netfraggle/bin/fraggleViewport.py
ViewVC logotype

Diff of /nfo/projects/netfraggle/bin/fraggleViewport.py

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.4 by joko, Wed Aug 25 18:33:43 2004 UTC revision 1.5 by joko, Wed Aug 25 19:54:07 2004 UTC
# Line 1  Line 1 
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
# Line 17  class fraggleViewport(wxMDIParentFrame): Line 18  class fraggleViewport(wxMDIParentFrame):
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    

Legend:
Removed from v.1.4  
changed lines
  Added in v.1.5

MailToCvsAdmin">MailToCvsAdmin
ViewVC Help
Powered by ViewVC 1.1.26 RSS 2.0 feed