function wx.stc.StyledTextCtrl.StartStyling() only receives one parameter, but there are two in the program. May it be caused by different versions of wxPython?
branch
python3-dev
env
Windows10, wxpython4, python3.9
stack trace
when I clicked build button, it occured:
SystemError: <class 'wx._core.MouseEvent'> returned a result with an error set
Traceback (most recent call last):
File "D:\Program Files\Python39\lib\site-packages\wx\core.py", line 3407, in <lambda>
lambda event: event.callable(*event.args, **event.kw) )
File "D:\code\OpenPLC_Editor\editor\LogPseudoFile.py", line 76, in _write
self.output.StartStyling(self.output.GetLength(), 0xff)
TypeError: StyledTextCtrl.StartStyling(): too many arguments
function
wx.stc.StyledTextCtrl.StartStyling()
only receives one parameter, but there are two in the program. May it be caused by different versions of wxPython?branch
python3-dev
env
Windows10, wxpython4, python3.9
stack trace
when I clicked build button, it occured: