StyledTextCtrl.SetStyle not implemented error
Txema Vicente <[email protected]> Sun, 11 Mar 2018 07:49:32 -0700 (PDT)
| Newsgroups | gmane.comp.python.wxpython.devel |
|---|---|
| Message-ID | <[email protected]> |
Hello.
I'm trying to use the SetStyle method to set colours.
out = stc.StyledTextCtrl(self)
out.write("ABC")
out.SetStyle(0, 2, wx.TextAttr("#FFFF00", "#000022") )
But throws:
C++ assertion "Assert failure"
failed at
C:\PROJECTS\buildbots\win7-py27\dist-win32-py36\Phoenix\ext\wxWidgets\include\wx/stc/stc.h(4654)
in wxStyledTextCtrl::SetStyle(): not implemented
What's wrong?
Thanks
Python 3.6.4 (32) - WX 4.0.1 msw (phoenix) on Windows 10.0.16299
--
You received this message because you are subscribed to the Google Groups "wxPython-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
For more options, visit https://groups.google.com/d/optout.