]> git.saurik.com Git - wxWidgets.git/commitdiff
wxSPinCtrl no longer set focus to its text field
authorRobert Roebling <robert@roebling.de>
Thu, 23 May 2002 17:53:44 +0000 (17:53 +0000)
committerRobert Roebling <robert@roebling.de>
Thu, 23 May 2002 17:53:44 +0000 (17:53 +0000)
     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

index c0dca645a1f22da70b76ff441f22ae6b51a8d705..9c8aad397ba50563feeb0a58aee04e5388392c35 100644 (file)
@@ -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)