X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/e32dc37570118300d58c68bae5b79af4ae460a04..ad0ac642d5764497804bee2caad4fc1f20fc6cea:/include/wx/defs.h diff --git a/include/wx/defs.h b/include/wx/defs.h index f49dd133d8..2924970772 100644 --- a/include/wx/defs.h +++ b/include/wx/defs.h @@ -638,14 +638,7 @@ enum /* ---------------------------------------------------------------------------- */ /* the type for screen and DC coordinates */ - -#if wxUSE_COMPATIBLE_COORD_TYPES - /* to ensure compatibility with 2.0, we must use long */ - #define wxCoord long -#else /* !wxUSE_COMPATIBLE_COORD_TYPES */ - /* other platforms we support have at least 32bit int - quite enough */ - typedef int wxCoord; -#endif /* wxUSE_COMPATIBLE_COORD_TYPES/!wxUSE_COMPATIBLE_COORD_TYPES */ +typedef int wxCoord; enum { wxDefaultCoord = -1 }; @@ -1623,10 +1616,8 @@ enum wxBackgroundStyle /* Standard menu IDs */ enum { -#if wxABI_VERSION >= 20602 /* no id matches this one when compared to it */ wxID_NONE = -3, -#endif /* id for a separator line in the menu (invalid for normal item) */ wxID_SEPARATOR = -2, @@ -1809,6 +1800,11 @@ enum wxHitTest /* Don't do parent client adjustments (for implementation only) */ #define wxSIZE_NO_ADJUSTMENTS 0x0008 +#if wxABI_VERSION >= 20602 +/* Change the window position even if it seems to be already correct */ +#define wxSIZE_FORCE 0x0010 +#endif // 2.6.2+ + /* ---------------------------------------------------------------------------- */ /* GDI descriptions */ /* ---------------------------------------------------------------------------- */ @@ -2677,6 +2673,7 @@ typedef void* WXRegion; typedef void* WXFont; typedef void* WXImage; typedef void* WXFontList; +typedef void* WXFontSet; typedef void* WXRendition; typedef void* WXRenderTable; typedef void* WXFontType; /* either a XmFontList or XmRenderTable */