From: Robert Roebling Date: Thu, 23 May 2002 17:53:44 +0000 (+0000) Subject: wxSPinCtrl no longer set focus to its text field X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/d45906e0a78871eaedb431a9f1a1097def3790c9 wxSPinCtrl no longer set focus to its text field when setting a value. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15645 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/generic/spinctlg.cpp b/src/generic/spinctlg.cpp index c0dca645a1..9c8aad397b 100644 --- a/src/generic/spinctlg.cpp +++ b/src/generic/spinctlg.cpp @@ -331,7 +331,7 @@ void wxSpinCtrl::SetTextValue(int val) m_text->SetSelection(0, -1); // and give focus to the control! - m_text->SetFocus(); + // m_text->SetFocus(); Why???? TODO. } void wxSpinCtrl::SetValue(int val)