restore SetSelection(-1, -1) behaviour which was broken during wxTextEntry refactoring
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51114 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
2ef989c972
commit
8df2696160
@ -1307,7 +1307,7 @@ void wxTextCtrl::DoSetSelection(long from, long to, int flags)
|
||||
else
|
||||
#endif // wxUSE_RICHEDIT
|
||||
{
|
||||
::SendMessage(hWnd, EM_SETSEL, from, to);
|
||||
wxTextEntry::DoSetSelection(from, to, flags);
|
||||
}
|
||||
|
||||
if ( (flags & SetSel_Scroll) && !IsFrozen() )
|
||||
|
Loading…
Reference in New Issue
Block a user