make spin control flat, too, under Win CE.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26861 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
e874f8672e
commit
5d72f19587
@ -296,7 +296,11 @@ bool wxSpinCtrl::Create(wxWindow *parent,
|
||||
style |= wxSP_VERTICAL;
|
||||
|
||||
if ( (style & wxBORDER_MASK) == wxBORDER_DEFAULT )
|
||||
#ifdef __WXWINCE__
|
||||
style |= wxBORDER_SIMPLE;
|
||||
#else
|
||||
style |= wxBORDER_SUNKEN;
|
||||
#endif
|
||||
|
||||
SetWindowStyle(style);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user