]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/defs.h
always forcing a relayout when position changes, making mlte a system option
[wxWidgets.git] / include / wx / defs.h
index daa43a38a287aa2a2c407d78d9230409cf811c6b..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 */
 /*  ---------------------------------------------------------------------------- */
@@ -2048,7 +2055,7 @@ enum wxKeyCode
     WXK_WINDOWS_MENU ,
     WXK_COMMAND,
 
-    // Hardware-specific buttons
+    /* Hardware-specific buttons */
     WXK_SPECIAL1 = 193,
     WXK_SPECIAL2,
     WXK_SPECIAL3,
@@ -2254,8 +2261,6 @@ enum wxUpdateUI
 typedef unsigned char WXCOLORREF[6];
 typedef void*       WXCGIMAGEREF;
 typedef void*       WXHBITMAP;
-//typedef void*       WXHMETAFILE;
-//typedef void*       WXHICON;
 typedef void*       WXHCURSOR;
 typedef void*       WXHRGN;
 typedef void*       WXRECTPTR;
@@ -2428,6 +2433,7 @@ typedef void *          WXHBRUSH;
 typedef void *          WXHPALETTE;
 typedef void *          WXHCURSOR;
 typedef void *          WXHRGN;
+typedef void *          WXRECTPTR;
 typedef void *          WXHACCEL;
 typedef void WXFAR  *   WXHINSTANCE;
 typedef void *          WXHBITMAP;