]> git.saurik.com Git - wxWidgets.git/commitdiff
Don't use wxTE_NOHIDESEL in wxSpinCtrlGeneric.
authorVadim Zeitlin <vadim@wxwidgets.org>
Sat, 26 Feb 2011 17:46:51 +0000 (17:46 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Sat, 26 Feb 2011 17:46:51 +0000 (17:46 +0000)
There is no reason to use this flag for the spin control and doing it makes it
gratuitously different from the native one under wxMSW.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@67030 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/generic/spinctlg.cpp

index dcb3ada436f7c6524a6c050e40b90d051fec5c40..2628efefa62c8f49fe7ae6564b0301854d2c3d72 100644 (file)
@@ -64,7 +64,7 @@ class wxSpinCtrlTextGeneric : public wxTextCtrl
 public:
     wxSpinCtrlTextGeneric(wxSpinCtrlGenericBase *spin, const wxString& value, long style=0)
         : wxTextCtrl(spin->GetParent(), wxID_ANY, value, wxDefaultPosition, wxDefaultSize,
-                     ( style & wxALIGN_MASK ) | wxTE_NOHIDESEL | wxTE_PROCESS_ENTER)
+                     ( style & wxALIGN_MASK ) | wxTE_PROCESS_ENTER)
     {
         m_spin = spin;