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:
parent
d8a832f38f
commit
f1a777fee4
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user