X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/dac8712fcfdc1d50cedf45865d98cad011a00a2c..a90280fe1ac7b78563d44afffd1d3b0b521b5cd6:/interface/wx/defs.h diff --git a/interface/wx/defs.h b/interface/wx/defs.h index 36deb822ec..812d422968 100644 --- a/interface/wx/defs.h +++ b/interface/wx/defs.h @@ -6,6 +6,23 @@ // Licence: wxWindows license ///////////////////////////////////////////////////////////////////////////// + +/** + No id matches this one when compared to it. +*/ +int wxID_NONE = -3; + +/** + Id for a separator line in the menu (invalid for normal item). +*/ +int wxID_SEPARATOR = -2; + +/** + Any id: means that we don't care about the id, whether when installing + an event handler or when creating a new window. +*/ +int wxID_ANY = -1; + /** Item kinds for use with wxMenu, wxMenuItem, and wxToolBar. @@ -99,7 +116,7 @@ enum wxPaperSize wxPAPER_FANFOLD_STD_GERMAN, ///< German Std Fanfold, 8 1/2 by 12 inches wxPAPER_FANFOLD_LGL_GERMAN, ///< German Legal Fanfold, 8 1/2 by 13 inches - // Windows 95 Only + // wxMSW Only wxPAPER_ISO_B4, ///< B4 (ISO) 250 x 353 mm wxPAPER_JAPANESE_POSTCARD, ///< Japanese Postcard 100 x 148 mm @@ -180,7 +197,7 @@ enum wxPaperSize }; -/** @ingroup group_funcmacro_byteorder */ +/** @addtogroup group_funcmacro_byteorder */ //@{ /** @@ -190,14 +207,14 @@ enum wxPaperSize @header{wx/defs.h} */ -#define wxINT32_SWAP_ALWAYS( wxInt32 value ) -#define wxUINT32_SWAP_ALWAYS( wxUint32 value ) -#define wxINT16_SWAP_ALWAYS( wxInt16 value ) -#define wxUINT16_SWAP_ALWAYS( wxUint16 value ) +#define wxINT32_SWAP_ALWAYS( wxInt32_value ) +#define wxUINT32_SWAP_ALWAYS( wxUint32_value ) +#define wxINT16_SWAP_ALWAYS( wxInt16_value ) +#define wxUINT16_SWAP_ALWAYS( wxUint16_value ) //@} -/** @ingroup group_funcmacro_byteorder */ +/** @addtogroup group_funcmacro_byteorder */ //@{ /** @@ -211,14 +228,14 @@ enum wxPaperSize @header{wx/defs.h} */ -#define wxINT32_SWAP_ON_BE( wxInt32 value ) -#define wxUINT32_SWAP_ON_BE( wxUint32 value ) -#define wxINT16_SWAP_ON_BE( wxInt16 value ) -#define wxUINT16_SWAP_ON_BE( wxUint16 value ) +#define wxINT32_SWAP_ON_BE( wxInt32_value ) +#define wxUINT32_SWAP_ON_BE( wxUint32_value ) +#define wxINT16_SWAP_ON_BE( wxInt16_value ) +#define wxUINT16_SWAP_ON_BE( wxUint16_value ) //@} -/** @ingroup group_funcmacro_byteorder */ +/** @addtogroup group_funcmacro_byteorder */ //@{ /** @@ -232,16 +249,16 @@ enum wxPaperSize @header{wx/defs.h} */ -#define wxINT32_SWAP_ON_LE( wxInt32 value ) -#define wxUINT32_SWAP_ON_LE( wxUint32 value ) -#define wxINT16_SWAP_ON_LE( wxInt16 value ) -#define wxUINT16_SWAP_ON_LE( wxUint16 value ) +#define wxINT32_SWAP_ON_LE( wxInt32_value ) +#define wxUINT32_SWAP_ON_LE( wxUint32_value ) +#define wxINT16_SWAP_ON_LE( wxInt16_value ) +#define wxUINT16_SWAP_ON_LE( wxUint16_value ) //@} -/** @ingroup group_funcmacro_misc */ +/** @addtogroup group_funcmacro_misc */ //@{ /**