]> git.saurik.com Git - wxWidgets.git/commitdiff
The wxDEFAULT_CONTROL_BORDER symbol can be used to specify a sunken
authorJulian Smart <julian@anthemion.co.uk>
Sat, 2 Apr 2005 17:23:08 +0000 (17:23 +0000)
committerJulian Smart <julian@anthemion.co.uk>
Sat, 2 Apr 2005 17:23:08 +0000 (17:23 +0000)
border on some platforms, simple border on e.g. WinCE

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33269 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

include/wx/defs.h

index 39459d328e9179324ec8bfa0bba7f6fabd45ab78..23155b313e1786961d3617bb4bff7b784cdd8297 100644 (file)
@@ -1232,6 +1232,13 @@ enum wxBorder
     wxBORDER_MASK   = 0x1f200000
 };
 
+/* This makes it easier to specify a 'normal' border for a control */
+#if defined(__SMARTPHONE__) || defined(__POCKETPC__)
+#define wxDEFAULT_CONTROL_BORDER    wxBORDER_SIMPLE
+#else
+#define wxDEFAULT_CONTROL_BORDER    wxBORDER_SUNKEN
+#endif
+
 /*  ---------------------------------------------------------------------------- */
 /*  Window style flags */
 /*  ---------------------------------------------------------------------------- */