Matlab和编辑器窗口分开怎么办,如何显示command history?
首先,您需要实际调用您的子类ReadGrid,而不是MyFrame。这根本行不通。接下来,您想要访问m_grid1,...
#set up menu events wx.EVT_MENU(sel f, wx.ID_OPEN, self.OnOpen) wx.EVT_MENU(sel f, wx.ID_EXIT, self.Exit) self.Show(True) return def OnOpen(self, event): dlg=wx.FileDial og(self, 'Choose a file', self.dirname, '', ...