- win = wxPanel(nb, -1)
- ed = wxEditor(win, -1, style=wxSUNKEN_BORDER)
- box = wxBoxSizer(wxVERTICAL)
- box.Add(ed, 1, wxALL|wxGROW, 5)
+ win = wx.Panel(nb, -1)
+ ed = editor.wxEditor(win, -1, style=wx.SUNKEN_BORDER)
+ box = wx.BoxSizer(wx.VERTICAL)
+ box.Add(ed, 1, wx.ALL|wx.GROW, 1)