]> git.saurik.com Git - wxWidgets.git/blobdiff - src/osx/spinctrl_osx.cpp
setting correct 'default' for m_filterIndex, closes #11541
[wxWidgets.git] / src / osx / spinctrl_osx.cpp
index 1e56099b01d4afc68226e72831d69d735397a915..8e7042d10e88528f501dbb3502480acf4f52bb68 100644 (file)
@@ -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.
 }