def runTest(frame, nb, log):
win = wxPanel(nb, -1)
- ed = wxEditor(win)
- pyed = wxPyEditor(win)
+ ed = wxEditor(win, -1, style=wxSUNKEN_BORDER)
+ pyed = wxPyEditor(win, -1, style=wxSUNKEN_BORDER)
box = wxBoxSizer(wxVERTICAL)
box.Add(ed, 1, wxALL|wxGROW, 5)
box.Add(pyed, 1, wxALL|wxGROW, 5)
ed.SetText(["",
"This is a simple text editor, the class name is",
- "wxEditor. Type a few lines and try it out."])
+ "wxEditor. Type a few lines and try it out.",
+ ""])
pyed.SetText(["# This one is a derived class named wxPyEditor.",
"# It adds syntax highlighting, folding (press",