]> git.saurik.com Git - wxWidgets.git/commitdiff
Default border style for a control on PPC/Smartphone is wxBORDER_SIMPLE
authorJulian Smart <julian@anthemion.co.uk>
Sat, 2 Apr 2005 17:28:37 +0000 (17:28 +0000)
committerJulian Smart <julian@anthemion.co.uk>
Sat, 2 Apr 2005 17:28:37 +0000 (17:28 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33273 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/msw/control.cpp

index 63869411c44db239f29f02948dfe2d0214187cd5..7d8c6024f22bc6b904c826ce55fa15ce7fd29e29 100644 (file)
@@ -188,7 +188,11 @@ wxBorder wxControl::GetDefaultBorder() const
     // we want to automatically give controls a sunken style (confusingly,
     // it may not really mean sunken at all as we map it to WS_EX_CLIENTEDGE
     // which is not sunken at all under Windows XP -- rather, just the default)
+#if defined(__POCKETPC__) || defined(__SMARTPHONE__)
+    return wxBORDER_SIMPLE;
+#else
     return wxBORDER_SUNKEN;
+#endif
 }
 
 WXDWORD wxControl::MSWGetStyle(long style, WXDWORD *exstyle) const