]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/control.cpp
removed tab character
[wxWidgets.git] / src / msw / control.cpp
index 20ae5ca0dce9bbe091fc27d784a62b737075ed08..ef6dfe5b9850f356ec63fff425351c22c03429fa 100644 (file)
@@ -214,12 +214,12 @@ wxSize wxControl::GetBestSpinerSize(const bool is_vertical) const
 {
     // take size according to layout
     wxSize bestSize(
-#ifdef __SMARTPHONE__
+#if defined(__SMARTPHONE__) && defined(__WXWINCE__)
                     0,GetCharHeight()
-#else !__SMARTPHONE__
+#else
                     GetSystemMetrics(is_vertical ? SM_CXVSCROLL : SM_CXHSCROLL),
                     GetSystemMetrics(is_vertical ? SM_CYVSCROLL : SM_CYHSCROLL)
-#endif __SMARTPHONE__/!__SMARTPHONE__
+#endif
     );
 
     // correct size as for undocumented MSW variants cases (WinCE and perhaps others)