]> git.saurik.com Git - wxWidgets.git/blobdiff - utils/wxPython/demo/wxEditor.py
Made wxEditor constructor args consistent with other window classes
[wxWidgets.git] / utils / wxPython / demo / wxEditor.py
index a798b9a8f6ed5b04f453a8c0ab8d931de48ae243..a55dc9def240c6915b82d7ecae8ed222e6ea2cf9 100644 (file)
@@ -6,8 +6,8 @@ from wxPython.lib.editor import wxEditor, wxPyEditor
 
 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)