Applied patch [ 1340814 ] fix for wxTextCtrl::GetStyle

Aron Pongo


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36917 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Julian Smart 2006-01-17 09:38:32 +00:00
parent d8a832f38f
commit f1a777fee4

View File

@ -2524,7 +2524,7 @@ bool wxTextCtrl::GetStyle(long position, wxTextAttr& style)
if ( changeSel )
{
DoSetSelection(position, position, false /* don't scroll caret into view */);
DoSetSelection(position, position+1, false /* don't scroll caret into view */);
}
// get the selection formatting