X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/f0b0b7d4b803b59ead09d076402df3d5f2c10e2f..0c3d4bfdcfa2c0abb8231fdf20c0d705dffbedc9:/utils/wxPython/lib/editor/editor.py diff --git a/utils/wxPython/lib/editor/editor.py b/utils/wxPython/lib/editor/editor.py index 247afba036..b34d724798 100644 --- a/utils/wxPython/lib/editor/editor.py +++ b/utils/wxPython/lib/editor/editor.py @@ -44,15 +44,16 @@ class Line: class wxEditor(wxScrolledWindow): - def __init__(self, parent, id=-1): + def __init__(self, parent, id, + pos=wxDefaultPosition, size=wxDefaultSize, style=0): ############################################################### """ Alles hat einen Anfang """ wxScrolledWindow.__init__(self, parent, id, - wxDefaultPosition, wxSize(500,400), - wxSUNKEN_BORDER|wxWANTS_CHARS) + pos, size, + style|wxWANTS_CHARS) # the syntax informations, if they don't exist, # all syntax stuff will be ignored