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:
@@ -2524,7 +2524,7 @@ bool wxTextCtrl::GetStyle(long position, wxTextAttr& style)
|
|||||||
|
|
||||||
if ( changeSel )
|
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
|
// get the selection formatting
|
||||||
|
Reference in New Issue
Block a user