Made wxEditor constructor args consistent with other window classes

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5217 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn
2000-01-03 19:30:51 +00:00
parent 46f9bb9475
commit f2a497dcf9
3 changed files with 9 additions and 7 deletions

View File

@@ -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