From 5d72f195879d11b72244ae718f9580f899ca0738 Mon Sep 17 00:00:00 2001 From: Robert Roebling Date: Sun, 18 Apr 2004 16:42:59 +0000 Subject: [PATCH] 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 --- src/msw/spinctrl.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/msw/spinctrl.cpp b/src/msw/spinctrl.cpp index 91b80a80e6..c2df8b2451 100644 --- a/src/msw/spinctrl.cpp +++ b/src/msw/spinctrl.cpp @@ -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); -- 2.50.0