wxRichTextCtrl GetStyle and HasFlag bug (continued)
Tom Gersic
wxdev at teleologic.net
Tue Jan 23 15:20:41 PST 2007
Hi All,
This is a continuation of my earlier post...
I've also noticed that if I set up a wxRichTextCtrl with a handful of
words that are linked with a style that contains a wxTEXT_ATTR_URL flag,
and I start searching, say, from the end to the beginning for the first
word that is linked, I get all the way to character 0 without getting a
single hit. But if I choose a location that I know has a link, it will
correctly identify it. It's like HasFlag only returns true correctly the
first time its called, and then after that it always returns false,
regardless of whether it should be returning true or not.
Any help figuring this out is most appreciated, but at the very least,
if somebody can confirm this as a bug, I'll submit it to the wxwidgets
Bugzilla.
Thanks,
Tom
More information about the wx-dev
mailing list