Add wxMenuItem::IsCheck() and IsRadio() accessors.
[wxWidgets.git] / include / wx / types.h
1 /////////////////////////////////////////////////////////////////////////////
2 // Name: wx/types.h
3 // Purpose: Type identifiers, used by resource system
4 // Author: Julian Smart
5 // Modified by:
6 // Created: 01/02/97
7 // RCS-ID: $Id$
8 // Copyright: (c) Julian Smart
9 // Licence: wxWindows licence
10 /////////////////////////////////////////////////////////////////////////////
11
12 #ifndef _WX_TYPESH__
13 #define _WX_TYPESH__
14
15 // Types of objects
16 #define wxTYPE_ANY 0
17 #define wxTYPE_OBJECT wxTYPE_ANY
18 #define wxTYPE_WINDOW 1
19 #define wxTYPE_DIALOG_BOX 2
20 #define wxTYPE_ITEM 3
21 #define wxTYPE_PANEL 4
22 #define wxTYPE_CANVAS 5
23 #define wxTYPE_TEXT_WINDOW 6
24 #define wxTYPE_FRAME 7
25
26 #define wxTYPE_BUTTON 8
27 #define wxTYPE_TEXT 9
28 #define wxTYPE_MESSAGE 10
29 #define wxTYPE_CHOICE 11
30 #define wxTYPE_LIST_BOX 12
31 #define wxTYPE_SLIDER 13
32 #define wxTYPE_CHECK_BOX 14
33 #define wxTYPE_MENU 15
34 #define wxTYPE_MENU_BAR 16
35 #define wxTYPE_MULTI_TEXT 17
36 #define wxTYPE_RADIO_BOX 18
37 #define wxTYPE_GROUP_BOX 19
38 #define wxTYPE_GAUGE 20
39 #define wxTYPE_SCROLL_BAR 21
40 #define wxTYPE_VIRT_LIST_BOX 22
41 #define wxTYPE_COMBO_BOX 23
42 #define wxTYPE_RADIO_BUTTON 24
43
44 #define wxTYPE_EVENT 25
45 #define wxTYPE_DC 26
46 #define wxTYPE_DC_CANVAS 27
47 #define wxTYPE_DC_POSTSCRIPT 28
48 #define wxTYPE_DC_PRINTER 29
49 #define wxTYPE_DC_METAFILE 30
50 #define wxTYPE_DC_MEMORY 31
51 #define wxTYPE_MOUSE_EVENT 32
52 #define wxTYPE_KEY_EVENT 33
53 #define wxTYPE_COMMAND_EVENT 34
54 #define wxTYPE_DC_PANEL 35
55
56 #define wxTYPE_PEN 40
57 #define wxTYPE_BRUSH 41
58 #define wxTYPE_FONT 42
59 #define wxTYPE_ICON 42
60 #define wxTYPE_BITMAP 43
61 #define wxTYPE_METAFILE 44
62 #define wxTYPE_TIMER 45
63 #define wxTYPE_COLOUR 46
64 #define wxTYPE_COLOURMAP 47
65 #define wxTYPE_CURSOR 48
66
67 #define wxTYPE_DDE_CLIENT 60
68 #define wxTYPE_DDE_SERVER 61
69 #define wxTYPE_DDE_CONNECTION 62
70
71 #define wxTYPE_HELP_INSTANCE 63
72
73 #define wxTYPE_LIST 70
74 #define wxTYPE_STRING_LIST 71
75 #define wxTYPE_HASH_TABLE 72
76 #define wxTYPE_NODE 73
77 #define wxTYPE_APP 74
78 #define wxTYPE_DATE 75
79
80 #define wxTYPE_ENHANCED_DIALOG 80
81 #define wxTYPE_TOOLBAR 81
82 #define wxTYPE_BUTTONBAR 82
83
84 #define wxTYPE_DATABASE 90
85 #define wxTYPE_QUERY_FIELD 91
86 #define wxTYPE_QUERY_COL 92
87 #define wxTYPE_RECORDSET 93
88
89 #define wxTYPE_USER 500
90
91 #endif
92 // _WX_TYPESH__
93