[wxPython] wxMenuBar sequence of calls

whats the prefered (and stable) way to build menus and its event-handling ?
look at the source-comments

#some code within a wxFrame
menuBar = wxMenuBar()
self.SetMenuBar( menuBar )
menu = wxMenu()
menu.Append(ID_FILE_NEW_INSTANCE,"&New", "Start New Instance")
menu.Append(ID_FILE_OPEN, "&Open Device List", "Open Device List")
menu.Append(ID_FILE_SAVE, "&Save Device List", "Save Device List")
###### CALL EVT_MENU before menuBar.Append(...) ???
EVT_MENU(self, ID_FILE_NEW_INSTANCE, self.OnFileNewInstance)
EVT_MENU(self, ID_FILE_OPEN, self.OnFileOpen)
EVT_MENU(self, ID_FILE_SAVE, self.OnFileSave)
###### or is it better to call menuBar.Append before EVT_MENU takes place
???
menuBar.Append(menu, "&File")

thanks for your answer

···

===========================================================
Heinl Raimund SSH - Software Systeme Heinl
gepr.Wirtschaftsinformatiker IHK Am Galling 3
Tel. 09151 / 7 10 99 91217 Hersbruck
Fax. 09151 / 90 50 51
http: coming soon
Email: heinlr@gmx.de

whats the prefered (and stable) way to build menus and its event-handling

?

###### CALL EVT_MENU before menuBar.Append(...) ???
###### or is it better to call menuBar.Append before EVT_MENU takes

place

???

It doesn't matter.

···

--
Robin Dunn
Software Craftsman
robin@AllDunn.com Java give you jitters?
http://wxPython.org Relax with wxPython!