X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/f53561f1f0860024afcc44cdf581e57080d457bf..00cd8a958f1c032ac48bcc240ee4098f4c8bfa46:/include/wx/defs.h?ds=sidebyside diff --git a/include/wx/defs.h b/include/wx/defs.h index ae8cc520a5..6af81cf169 100644 --- a/include/wx/defs.h +++ b/include/wx/defs.h @@ -411,18 +411,10 @@ typedef int unsigned wxUint32; #if !defined(__WXMSW__) && !defined(__WXMAC__) && !defined(__WXOS2__) #if defined(SIZEOF_INT) - #if (SIZEOF_SHORT == 2) typedef short signed wxInt16; typedef short unsigned wxUint16; - #else - #error "FIXME" - #endif - #if (SIZEOF_INT == 4) typedef int signed wxInt32; typedef int unsigned wxUint32; - #else - #error "FIXME" - #endif #else typedef short signed wxInt16; typedef short unsigned wxUint16; @@ -618,7 +610,13 @@ enum wxOrientation */ // use native docking #define wxMB_DOCKABLE 0x0001 +// make all menus tearoff menus, even if not set on per-menu basis +#define wxMB_TEAROFF 0x0002 +/* + * wxMenu style flags + */ +#define wxMENU_TEAROFF 0x0001 /* * Apply to all panel items @@ -816,6 +814,9 @@ enum wxOrientation #define wxPD_CAN_ABORT 0x0001 #define wxPD_APP_MODAL 0x0002 #define wxPD_AUTO_HIDE 0x0004 +#define wxPD_ELAPSED_TIME 0x0008 +#define wxPD_ESTIMATED_TIME 0x0010 +#define wxPD_REMAINING_TIME 0x0020 /* * GDI descriptions @@ -1341,6 +1342,9 @@ typedef void* WXFont; typedef void* WXImage; typedef void* WXCursor; typedef void* WXFontList; + +typedef unsigned long Atom; /* this might fail on a few architectures */ + #endif // Motif #ifdef __WXGTK__