wxRichTextCtrl: Drawing the selection doesn't respect its container
|Reported by:||dghart||Owned by:|
In wxRichTextCtrl, drawing selected text is done in different colours to unselected; for me, it's white on blue. However wxRichTextParagraphLayoutBox::Draw doesn't adequately restrict this. As can be seen in the diff to the richtext sample and the attached screenshot, if position n is selected, cell n of a following table will also be selected (you may have to scroll to force a refresh before it's visible).
This is fixed by richtextbuffer.patch.