Fix wxStyledTextCtrl::SetInsertionPointEnd().
authorVadim Zeitlin <vadim@wxwidgets.org>
Fri, 31 May 2013 23:21:16 +0000 (23:21 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Fri, 31 May 2013 23:21:16 +0000 (23:21 +0000)
commit1054bcb21f76fc28e4cecec71179758497f9c384
tree9d89966aa75f0f694082db4f456414159d6e7734
parent0a72cae73d9040ef77dc608cdc60077810311482
Fix wxStyledTextCtrl::SetInsertionPointEnd().

This relied on SetInsertionPoint(-1) working like in wxTextCtrl but it didn't.
Add an explicit check to it for consistency with the other classes and to make
SetInsertionPointEnd() work.

Closes #15234.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@74069 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
docs/changes.txt
include/wx/stc/stc.h
src/stc/stc.h.in