X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/9a83f860948059b0273b5cc6d9e43fadad3ebfca..306a5d95154602e34bd752aa18859931018d26d5:/src/osx/spinctrl_osx.cpp?ds=sidebyside diff --git a/src/osx/spinctrl_osx.cpp b/src/osx/spinctrl_osx.cpp index 1e56099b01..8e7042d10e 100644 --- a/src/osx/spinctrl_osx.cpp +++ b/src/osx/spinctrl_osx.cpp @@ -395,6 +395,8 @@ void wxSpinCtrl::SetTextValue(int val) // select all text m_text->SetSelection(0, -1); + m_text->SetInsertionPointEnd(); + // and give focus to the control! // m_text->SetFocus(); Why???? TODO. }