]> git.saurik.com Git - wxWidgets.git/commitdiff
Have to set focus to edit control when it is shown otherwise the
authorMichael Bedward <mbedward@ozemail.com.au>
Wed, 6 Oct 1999 08:23:29 +0000 (08:23 +0000)
committerMichael Bedward <mbedward@ozemail.com.au>
Wed, 6 Oct 1999 08:23:29 +0000 (08:23 +0000)
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

src/generic/grid.cpp

index 6f9512c5af5f266500640ecd0e3280dd933502c8..02484668f61fb749874e369b73a206926e66a1ab 100644 (file)
@@ -2021,7 +2021,7 @@ void wxGrid::ShowCellEditControl()
                     break;
             }
 
-            // m_cellEditCtrl->SetFocus();
+            m_cellEditCtrl->SetFocus();
         }
     }
 }