]> git.saurik.com Git - wxWidgets.git/commit
gtk_text_iter_get_line and get_line_offset work fine on the end iter. Don't bail...
authorMart Raudsepp <leio@gentoo.org>
Fri, 14 Jul 2006 03:46:40 +0000 (03:46 +0000)
committerMart Raudsepp <leio@gentoo.org>
Fri, 14 Jul 2006 03:46:40 +0000 (03:46 +0000)
commit50259962667c5c7485fee30e602f2fe551efaf6f
tree950bb6b4d9de48b49e18daa972e937ecb8b532f8
parentd7a7616b9d95c6b52073585c9c849c36a6d49cb5
gtk_text_iter_get_line and get_line_offset work fine on the end iter. Don't bail if we are at the end of buffer.
Fixes one part of bug #1516281, the other part is controversial and probably not reasonable to change.
Also deal with NULL being passed as the x or y pointer, as is done also on wxMSW (this was done on 2.6 branch as
well, but not noted).

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40089 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
src/gtk/textctrl.cpp