clarified the parameters of MB2WC and WC2MB a little in the docs/headers
[wxWidgets.git] / src / msw / spinctrl.cpp
index 91b80a80e63ca4c86bc38072d99e27edcd2bedf2..312867d1a4f8626506d2596eac6dcbc772f135a1 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);
 
@@ -437,7 +441,7 @@ int wxSpinCtrl::GetValue() const
 
 void wxSpinCtrl::SetSelection(long from, long to)
 {
-    // if from and to are both -1, it means (in wxWindows) that all text should
+    // if from and to are both -1, it means (in wxWidgets) that all text should
     // be selected - translate into Windows convention
     if ( (from == -1) && (to == -1) )
     {