X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/732281950a766e94828787ff571f73fecb83949e..70680b6177bdcebadfa329fae91c240aa9023f2b:/src/generic/grideditors.cpp diff --git a/src/generic/grideditors.cpp b/src/generic/grideditors.cpp index fabd2b9227..36e067e9a6 100644 --- a/src/generic/grideditors.cpp +++ b/src/generic/grideditors.cpp @@ -496,7 +496,7 @@ void wxGridCellTextEditor::DoBeginEdit(const wxString& startValue) { Text()->SetValue(startValue); Text()->SetInsertionPointEnd(); - Text()->SetSelection(-1, -1); + Text()->SelectAll(); Text()->SetFocus(); }