[Re: [wxPython] Finding a string within a textbox]

I think GetValue returns the string with only "\n" on either platform,
however the win32 control uses "\r\n" internally, so this may be where >

the

discrepancy lies. IOW, SetInsertionPoint is counting positions on lines
with "\r\n" at the end but you are only searching a string with "\n" at >

the

end of lines.

Ugh. This affects me too. Any chance of getting this fixed in wxWindows?

David Fox

···

"Robin Dunn" <robin@alldunn.com> wrote:

____________________________________________________________________
Get your own FREE, personal Netscape WebMail account today at http://home.netscape.com/webmail
_______________________________________________
wxPython-users mailing list
wxPython-users@lists.sourceforge.net
http://lists.sourceforge.net/mailman/listinfo/wxpython-users