SetSelection on wxTextCtrl is intermittent

Ron Burkey rburkey2005 at earthlink.net
Thu Mar 27 13:27:35 PDT 2008


On Thu, 2008-03-27 at 20:07 +0100, Vadim Zeitlin wrote:
>  Unfortunately I don't see the problem neither in the trunk nor with the
> latest 2.8 sources so I can't debug it. Moreover, looking at SetSelection()
> code I really don't see much scope for bugs in it (although I wonder why
> does it set selection from "to" to "from" rather than vice versa). If you
> can reproduce the problem more or less reliably, it would be nice if you
> could look at the iterators there when the bug occurs. Or maybe put some
> printf()s there too.
> 

I'm happy to try it, except that I don't understand what you mean.  Is
there a "for dummies" version of that?  (You could regard me as an
expert C programmer, but I've never exerted myself to learn more than
the minimum about C++ and my knowledge of the internals of wxWidgets is
pretty minimal.)

-- Ron






More information about the wx-users mailing list