]> git.saurik.com Git - wxWidgets.git/commitdiff
make spin control flat, too, under Win CE.
authorRobert Roebling <robert@roebling.de>
Sun, 18 Apr 2004 16:42:59 +0000 (16:42 +0000)
committerRobert Roebling <robert@roebling.de>
Sun, 18 Apr 2004 16:42:59 +0000 (16:42 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26861 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/msw/spinctrl.cpp

index 91b80a80e63ca4c86bc38072d99e27edcd2bedf2..c2df8b2451659ac991ea1cb061c99afaf0464a16 100644 (file)
@@ -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);