#define wxINT16_MAX SHRT_MAX |
C99-like sized MIN/MAX constants for all integer types.
For each n
in the set 8, 16, 32, 64 we define wxINTn_MIN
, wxINTn_MAX
and wxUINTc_MAX
(wxUINTc_MIN
is always 0 and so is not defined).
#define wxINT16_MIN SHRT_MIN |
C99-like sized MIN/MAX constants for all integer types.
For each n
in the set 8, 16, 32, 64 we define wxINTn_MIN
, wxINTn_MAX
and wxUINTc_MAX
(wxUINTc_MIN
is always 0 and so is not defined).
#define wxINT32_MAX INT_MAX-or-LONG_MAX |
C99-like sized MIN/MAX constants for all integer types.
For each n
in the set 8, 16, 32, 64 we define wxINTn_MIN
, wxINTn_MAX
and wxUINTc_MAX
(wxUINTc_MIN
is always 0 and so is not defined).
#define wxINT32_MIN INT_MIN-or-LONG_MIN |
C99-like sized MIN/MAX constants for all integer types.
For each n
in the set 8, 16, 32, 64 we define wxINTn_MIN
, wxINTn_MAX
and wxUINTc_MAX
(wxUINTc_MIN
is always 0 and so is not defined).
#define wxINT64_MAX LLONG_MAX |
C99-like sized MIN/MAX constants for all integer types.
For each n
in the set 8, 16, 32, 64 we define wxINTn_MIN
, wxINTn_MAX
and wxUINTc_MAX
(wxUINTc_MIN
is always 0 and so is not defined).
#define wxINT64_MIN LLONG_MIN |
C99-like sized MIN/MAX constants for all integer types.
For each n
in the set 8, 16, 32, 64 we define wxINTn_MIN
, wxINTn_MAX
and wxUINTc_MAX
(wxUINTc_MIN
is always 0 and so is not defined).
#define wxINT8_MAX CHAR_MAX |
C99-like sized MIN/MAX constants for all integer types.
For each n
in the set 8, 16, 32, 64 we define wxINTn_MIN
, wxINTn_MAX
and wxUINTc_MAX
(wxUINTc_MIN
is always 0 and so is not defined).
#define wxINT8_MIN CHAR_MIN |
C99-like sized MIN/MAX constants for all integer types.
For each n
in the set 8, 16, 32, 64 we define wxINTn_MIN
, wxINTn_MAX
and wxUINTc_MAX
(wxUINTc_MIN
is always 0 and so is not defined).
#define wxUINT16_MAX USHRT_MAX |
C99-like sized MIN/MAX constants for all integer types.
For each n
in the set 8, 16, 32, 64 we define wxINTn_MIN
, wxINTn_MAX
and wxUINTc_MAX
(wxUINTc_MIN
is always 0 and so is not defined).
#define wxUINT32_MAX UINT_MAX-or-LONG_MAX |
C99-like sized MIN/MAX constants for all integer types.
For each n
in the set 8, 16, 32, 64 we define wxINTn_MIN
, wxINTn_MAX
and wxUINTc_MAX
(wxUINTc_MIN
is always 0 and so is not defined).
#define wxUINT64_MAX ULLONG_MAX |
C99-like sized MIN/MAX constants for all integer types.
For each n
in the set 8, 16, 32, 64 we define wxINTn_MIN
, wxINTn_MAX
and wxUINTc_MAX
(wxUINTc_MIN
is always 0 and so is not defined).
#define wxUINT8_MAX UCHAR_MAX |
C99-like sized MIN/MAX constants for all integer types.
For each n
in the set 8, 16, 32, 64 we define wxINTn_MIN
, wxINTn_MAX
and wxUINTc_MAX
(wxUINTc_MIN
is always 0 and so is not defined).
8 bit type (the mapping is more complex than a simple typedef
and is not shown here).
16 bit type (the mapping is more complex than a simple typedef
and is not shown here).
32 bit type (the mapping is more complex than a simple typedef
and is not shown here).
typedef int wxCoord |
The type for screen and DC coordinates.
typedef double wxDouble |
Native fastest representation that has at least wxFloat64 precision, so use the IEEE types for storage, and this for calculations.
(The mapping is more complex than a simple typedef
and is not shown here).
32 bit type (the mapping is more complex than a simple typedef
and is not shown here).
typedef float wxFloat32 |
32 bit IEEE float ( 1 sign, 8 exponent bits, 23 fraction bits ).
(The mapping is more complex than a simple typedef
and is not shown here).
typedef double wxFloat64 |
64 bit IEEE float ( 1 sign, 11 exponent bits, 52 fraction bits ).
(The mapping is more complex than a simple typedef
and is not shown here).
typedef signed short wxInt16 |
16 bit type (the mapping is more complex than a simple typedef
and is not shown here).
typedef int wxInt32 |
32 bit type (the mapping is more complex than a simple typedef
and is not shown here).
typedef wxLongLong_t wxInt64 |
64 bit type (the mapping is more complex than a simple typedef
and is not shown here).
typedef signed char wxInt8 |
8 bit type (the mapping is more complex than a simple typedef
and is not shown here).
typedef ssize_t wxIntPtr |
Signed and unsigned integral types big enough to contain all of long
, size_t
and void*
.
(The mapping is more complex than a simple typedef
and is not shown here).
typedef unsigned short wxUint16 |
16 bit type (the mapping is more complex than a simple typedef
and is not shown here).
typedef unsigned int wxUint32 |
32 bit type (the mapping is more complex than a simple typedef
and is not shown here).
typedef wxULongLong_t wxUint64 |
64 bit type (the mapping is more complex than a simple typedef
and is not shown here).
typedef unsigned char wxUint8 |
8 bit type (the mapping is more complex than a simple typedef
and is not shown here).
typedef size_t wxUIntPtr |
Signed and unsigned integral types big enough to contain all of long
, size_t
and void*
.
(The mapping is more complex than a simple typedef
and is not shown here).
16 bit type (the mapping is more complex than a simple typedef
and is not shown here).
enum wxAlignment |
Generic alignment values.
Can be combined together.
enum wxBackgroundStyle |
Background styles.
enum wxDataFormatId |
Data format IDs used by wxDataFormat.
enum wxDirection |
enum wxDuplexMode |
enum wxGeometryCentre |
enum wxHitTest |
Generic hit test results.
enum wxItemKind |
Item kinds for use with wxMenu, wxMenuItem, and wxToolBar.
wxITEM_SEPARATOR | |
wxITEM_NORMAL |
Normal tool button / menu item.
|
wxITEM_CHECK |
Check (or toggle) tool button / menu item. |
wxITEM_RADIO |
Radio tool button / menu item. |
wxITEM_DROPDOWN |
Normal tool button with a dropdown arrow next to it. Clicking the dropdown arrow sends a |
wxITEM_MAX |
enum wxKeyCode |
Virtual keycodes used by wxKeyEvent and some other wxWidgets functions.
Note that the range 0..255
corresponds to the characters of the current locale, in particular the 32..127
subrange is for the ASCII symbols, and all the special key values such as WXK_END
lie above this range.
WXK_NONE |
No key. This value is returned by wxKeyEvent::GetKeyCode() if there is no non-Unicode representation for the pressed key (e.g. a Cyrillic letter was entered when not using a Cyrillic locale) and by wxKeyEvent::GetUnicodeKey() if there is no Unicode representation for the key (this happens for the special, non printable, keys only, e.g. WXK_HOME).
|
WXK_BACK |
Backspace. |
WXK_TAB | |
WXK_RETURN | |
WXK_ESCAPE | |
WXK_SPACE | |
WXK_DELETE | |
WXK_START |
Special key values. These are, by design, not compatible with Unicode characters. If you want to get a Unicode character from a key event, use wxKeyEvent::GetUnicodeKey() instead. |
WXK_LBUTTON | |
WXK_RBUTTON | |
WXK_CANCEL | |
WXK_MBUTTON | |
WXK_CLEAR | |
WXK_SHIFT | |
WXK_ALT | |
WXK_CONTROL | |
WXK_MENU | |
WXK_PAUSE | |
WXK_CAPITAL | |
WXK_END | |
WXK_HOME | |
WXK_LEFT | |
WXK_UP | |
WXK_RIGHT | |
WXK_DOWN | |
WXK_SELECT | |
WXK_PRINT | |
WXK_EXECUTE | |
WXK_SNAPSHOT | |
WXK_INSERT | |
WXK_HELP | |
WXK_NUMPAD0 | |
WXK_NUMPAD1 | |
WXK_NUMPAD2 | |
WXK_NUMPAD3 | |
WXK_NUMPAD4 | |
WXK_NUMPAD5 | |
WXK_NUMPAD6 | |
WXK_NUMPAD7 | |
WXK_NUMPAD8 | |
WXK_NUMPAD9 | |
WXK_MULTIPLY | |
WXK_ADD | |
WXK_SEPARATOR | |
WXK_SUBTRACT | |
WXK_DECIMAL | |
WXK_DIVIDE | |
WXK_F1 | |
WXK_F2 | |
WXK_F3 | |
WXK_F4 | |
WXK_F5 | |
WXK_F6 | |
WXK_F7 | |
WXK_F8 | |
WXK_F9 | |
WXK_F10 | |
WXK_F11 | |
WXK_F12 | |
WXK_F13 | |
WXK_F14 | |
WXK_F15 | |
WXK_F16 | |
WXK_F17 | |
WXK_F18 | |
WXK_F19 | |
WXK_F20 | |
WXK_F21 | |
WXK_F22 | |
WXK_F23 | |
WXK_F24 | |
WXK_NUMLOCK | |
WXK_SCROLL | |
WXK_PAGEUP | |
WXK_PAGEDOWN | |
WXK_NUMPAD_SPACE | |
WXK_NUMPAD_TAB | |
WXK_NUMPAD_ENTER | |
WXK_NUMPAD_F1 | |
WXK_NUMPAD_F2 | |
WXK_NUMPAD_F3 | |
WXK_NUMPAD_F4 | |
WXK_NUMPAD_HOME | |
WXK_NUMPAD_LEFT | |
WXK_NUMPAD_UP | |
WXK_NUMPAD_RIGHT | |
WXK_NUMPAD_DOWN | |
WXK_NUMPAD_PAGEUP | |
WXK_NUMPAD_PAGEDOWN | |
WXK_NUMPAD_END | |
WXK_NUMPAD_BEGIN | |
WXK_NUMPAD_INSERT | |
WXK_NUMPAD_DELETE | |
WXK_NUMPAD_EQUAL | |
WXK_NUMPAD_MULTIPLY | |
WXK_NUMPAD_ADD | |
WXK_NUMPAD_SEPARATOR | |
WXK_NUMPAD_SUBTRACT | |
WXK_NUMPAD_DECIMAL | |
WXK_NUMPAD_DIVIDE | |
WXK_WINDOWS_LEFT |
The following key codes are only generated under Windows currently. |
WXK_WINDOWS_RIGHT | |
WXK_WINDOWS_MENU | |
WXK_COMMAND | |
WXK_SPECIAL1 |
Hardware-specific buttons. |
WXK_SPECIAL2 | |
WXK_SPECIAL3 | |
WXK_SPECIAL4 | |
WXK_SPECIAL5 | |
WXK_SPECIAL6 | |
WXK_SPECIAL7 | |
WXK_SPECIAL8 | |
WXK_SPECIAL9 | |
WXK_SPECIAL10 | |
WXK_SPECIAL11 | |
WXK_SPECIAL12 | |
WXK_SPECIAL13 | |
WXK_SPECIAL14 | |
WXK_SPECIAL15 | |
WXK_SPECIAL16 | |
WXK_SPECIAL17 | |
WXK_SPECIAL18 | |
WXK_SPECIAL19 | |
WXK_SPECIAL20 |
enum wxKeyModifier |
This enum contains bit mask constants used in wxKeyEvent.
enum wxOrientation |
enum wxPaperSize |
Paper size types for use with the printing framework.
enum wxPrintMode |
enum wxPrintOrientation |
enum wxSizerFlagBits |
Miscellaneous flags for wxSizer items.
enum wxStandardID |
Standard IDs.
Notice that some, but not all, of these IDs are also stock IDs, i.e. you can use them for the button or menu items without specifying the label which will be provided by the underlying platform itself. See "the list of stock items" for the subset of standard IDs which are stock IDs as well.
enum wxStretch |
enum wxUpdateUI |
Flags which can be used in wxWindow::UpdateWindowUI().
wxCoord wxDefaultCoord = -1 |
A special value meaning "use default coordinate".
![]() |
[ top ] |