From: Michael Bedward Date: Wed, 6 Oct 1999 08:23:29 +0000 (+0000) Subject: Have to set focus to edit control when it is shown otherwise the X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/e685e57bbd1eb01843ddda92e5825613be0971ca Have to set focus to edit control when it is shown otherwise the insertion point stays at the beginning of the text control under wxMotif. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3846 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/generic/grid.cpp b/src/generic/grid.cpp index 6f9512c5af..02484668f6 100644 --- a/src/generic/grid.cpp +++ b/src/generic/grid.cpp @@ -2021,7 +2021,7 @@ void wxGrid::ShowCellEditControl() break; } - // m_cellEditCtrl->SetFocus(); + m_cellEditCtrl->SetFocus(); } } }