Don't use wxTE_NOHIDESEL in wxSpinCtrlGeneric.
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
This commit is contained in:
@@ -64,7 +64,7 @@ class wxSpinCtrlTextGeneric : public wxTextCtrl
|
|||||||
public:
|
public:
|
||||||
wxSpinCtrlTextGeneric(wxSpinCtrlGenericBase *spin, const wxString& value, long style=0)
|
wxSpinCtrlTextGeneric(wxSpinCtrlGenericBase *spin, const wxString& value, long style=0)
|
||||||
: wxTextCtrl(spin->GetParent(), wxID_ANY, value, wxDefaultPosition, wxDefaultSize,
|
: 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;
|
m_spin = spin;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user