I tried to follow wxPython Demo examples to understand it better. I used wxGlade to generate my code from the GUI builder.
When I try to see the code for Menu and Menubar I see a little mismatch in the way functions are being used. For example, wxGlade produces code like this self.Action = wx.Menu() self.AddComputer = wx.MenuItem(self.Action, wx.NewId(), _("Add Computer"), "",wx.ITEM_NORMAL) self.Action.AppendItem(self.AddComputer) ## Code end and in the demo it is gives as self.Action = wx.Menu() Action.append(201, "Add Computer") # Code end Can somebody please explain this discrepancy ? Thanks, every help is appreciated. -- http://mail.python.org/mailman/listinfo/python-list