RichTextCtrl underline not working correctly on Windows
|Reported by:||transana||Owned by:|
|Keywords:||underline windows RichTextCtrl||Cc:|
On Windows, ApplyUnderlineToSelection() doesn't always show up immediately. If you underline a selection, the underlining for that original selection won't show up until a subsequent Underline, Bold, or Italics call is made elsewhere.
Removing underlining always occurs immediately. Bold and Italics work immediately. Underlining works fine on lines that also contain bold or italics, but not when used alone. The same code that fails on Windows works correctly on Ubuntu and OS X.
I've verified this in wxPython 184.108.40.206 and 220.127.116.11, and was referred here by Robin Dunn, who suggested this was more likely a wxWidgets issue than a wxPython issue.