]> git.saurik.com Git - wxWidgets.git/blame - include/wx/types.h
improved conditional compilation test (added wxUSE_POSTSCRIPT)
[wxWidgets.git] / include / wx / types.h
CommitLineData
c801d85f
KB
1/////////////////////////////////////////////////////////////////////////////
2// Name: 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 and Markus Holzem
9// Licence: wxWindows licence
10/////////////////////////////////////////////////////////////////////////////
11
34138703
JS
12#ifndef _WX_TYPESH__
13#define _WX_TYPESH__
c801d85f
KB
14
15#ifdef __GNUG__
16// #pragma interface "types.h"
17#endif
18
19// Types of objects
20#define wxTYPE_ANY 0
21#define wxTYPE_OBJECT wxTYPE_ANY
22#define wxTYPE_WINDOW 1
23#define wxTYPE_DIALOG_BOX 2
24#define wxTYPE_ITEM 3
25#define wxTYPE_PANEL 4
26#define wxTYPE_CANVAS 5
27#define wxTYPE_TEXT_WINDOW 6
28#define wxTYPE_FRAME 7
29
30#define wxTYPE_BUTTON 8
31#define wxTYPE_TEXT 9
32#define wxTYPE_MESSAGE 10
33#define wxTYPE_CHOICE 11
34#define wxTYPE_LIST_BOX 12
35#define wxTYPE_SLIDER 13
36#define wxTYPE_CHECK_BOX 14
37#define wxTYPE_MENU 15
38#define wxTYPE_MENU_BAR 16
39#define wxTYPE_MULTI_TEXT 17
40#define wxTYPE_RADIO_BOX 18
41#define wxTYPE_GROUP_BOX 19
42#define wxTYPE_GAUGE 20
43#define wxTYPE_SCROLL_BAR 21
44#define wxTYPE_VIRT_LIST_BOX 22
45#define wxTYPE_COMBO_BOX 23
46#define wxTYPE_RADIO_BUTTON 24
47
48#define wxTYPE_EVENT 25
49#define wxTYPE_DC 26
50#define wxTYPE_DC_CANVAS 27
51#define wxTYPE_DC_POSTSCRIPT 28
52#define wxTYPE_DC_PRINTER 29
53#define wxTYPE_DC_METAFILE 30
54#define wxTYPE_DC_MEMORY 31
55#define wxTYPE_MOUSE_EVENT 32
56#define wxTYPE_KEY_EVENT 33
57#define wxTYPE_COMMAND_EVENT 34
58#define wxTYPE_DC_PANEL 35
59
60#define wxTYPE_PEN 40
61#define wxTYPE_BRUSH 41
62#define wxTYPE_FONT 42
63#define wxTYPE_ICON 42
64#define wxTYPE_BITMAP 43
65#define wxTYPE_METAFILE 44
66#define wxTYPE_TIMER 45
67#define wxTYPE_COLOUR 46
68#define wxTYPE_COLOURMAP 47
69#define wxTYPE_CURSOR 48
70
71#define wxTYPE_DDE_CLIENT 60
72#define wxTYPE_DDE_SERVER 61
73#define wxTYPE_DDE_CONNECTION 62
74
75#define wxTYPE_HELP_INSTANCE 63
76
77#define wxTYPE_LIST 70
78#define wxTYPE_STRING_LIST 71
79#define wxTYPE_HASH_TABLE 72
80#define wxTYPE_NODE 73
81#define wxTYPE_APP 74
82#define wxTYPE_DATE 75
83
84#define wxTYPE_ENHANCED_DIALOG 80
85#define wxTYPE_TOOLBAR 81
86#define wxTYPE_BUTTONBAR 82
87
88#define wxTYPE_DATABASE 90
89#define wxTYPE_QUERY_FIELD 91
90#define wxTYPE_QUERY_COL 92
91#define wxTYPE_RECORDSET 93
92
93#define wxTYPE_USER 500
94
95#endif
34138703 96 // _WX_TYPESH__
c801d85f 97