From d45906e0a78871eaedb431a9f1a1097def3790c9 Mon Sep 17 00:00:00 2001 From: Robert Roebling Date: Thu, 23 May 2002 17:53:44 +0000 Subject: [PATCH] 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 --- src/generic/spinctlg.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- 2.50.0