All editors that derive from wxGridCellTextEditor will now select the
existing value when the editor is started, just like a wxTextCtrl now does in normal use. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16752 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
8a60ff0af8
commit
505f70dec6
@ -629,6 +629,7 @@ void wxGridCellTextEditor::DoBeginEdit(const wxString& startValue)
|
||||
{
|
||||
Text()->SetValue(startValue);
|
||||
Text()->SetInsertionPointEnd();
|
||||
Text()->SetSelection(-1,-1);
|
||||
Text()->SetFocus();
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user