]>
Commit | Line | Data |
---|---|---|
0dbd6262 SC |
1 | ///////////////////////////////////////////////////////////////////////////// |
2 | // Name: setup.h | |
3 | // Purpose: Configuration for the library | |
4 | // Author: AUTHOR | |
5 | // Modified by: | |
6 | // Created: ??/??/98 | |
7 | // RCS-ID: $Id$ | |
8 | // Copyright: (c) AUTHOR | |
9 | // Licence: wxWindows licence | |
10 | ///////////////////////////////////////////////////////////////////////////// | |
11 | ||
12 | #ifndef _WX_SETUP_H_ | |
13 | #define _WX_SETUP_H_ | |
14 | ||
15 | /* | |
16 | * General features | |
17 | * | |
18 | */ | |
19 | ||
20 | #define wxUSE_CONSTRAINTS 1 | |
21 | // Use constraints mechanism | |
22 | #define wxUSE_CONFIG 1 | |
23 | // Use wxConfig, with CreateConfig in wxApp | |
24 | #define _WX_GOODCOMPILER__ | |
25 | // gcc can have problems, but Windows compilers | |
26 | // are generally OK. | |
27 | #define WXWIN_COMPATIBILITY 1 | |
28 | // Compatibility with 1.66 API. | |
29 | // Level 0: no backward compatibility, all new features | |
30 | // Level 1: wxDC, OnSize (etc.) compatibility, but | |
31 | // some new features such as event tables | |
32 | ||
169935ad SC |
33 | #define wxUSE_AUTOTRANS 0 |
34 | // Define wxTString | |
8be97d65 | 35 | #define wxUSE_POSTSCRIPT 0 |
0dbd6262 SC |
36 | // 0 for no PostScript device context |
37 | #define wxUSE_AFM_FOR_POSTSCRIPT 0 | |
38 | // 1 to use font metric files in GetTextExtent | |
8be97d65 | 39 | #define wxUSE_METAFILE 0 |
0dbd6262 | 40 | // 0 for no Metafile and metafile device context |
169935ad SC |
41 | #define wxUSE_FORM 0 |
42 | // 0 for no wxForm | |
8be97d65 | 43 | #define wxUSE_IPC 0 |
0dbd6262 | 44 | // 0 for no interprocess comms |
8be97d65 | 45 | #define wxUSE_HELP 0 |
0dbd6262 | 46 | // 0 for no help facility |
8be97d65 | 47 | #define wxUSE_RESOURCES 0 |
0dbd6262 | 48 | // 0 for no wxGetResource/wxWriteResource |
8be97d65 | 49 | #define wxUSE_CLIPBOARD 0 |
0dbd6262 | 50 | // 0 for no clipboard functions |
8be97d65 | 51 | #define wxUSE_SPLINES 0 |
0dbd6262 | 52 | // 0 for no splines |
8be97d65 | 53 | #define wxUSE_XFIG_SPLINE_CODE 0 |
0dbd6262 SC |
54 | // 1 for XFIG spline code, 0 for AIAI spline code. |
55 | // AIAI spline code is slower, but freer of copyright issues. | |
56 | // 0 for no splines | |
57 | ||
8be97d65 | 58 | #define wxUSE_TOOLBAR 0 |
0dbd6262 | 59 | // Use toolbars |
8be97d65 | 60 | #define wxUSE_DRAG_AND_DROP 0 |
0dbd6262 SC |
61 | // 0 for no drag and drop |
62 | ||
8be97d65 | 63 | #define wxUSE_WX_RESOURCES 0 |
0dbd6262 SC |
64 | // Use .wxr resource mechanism (requires PrologIO library) |
65 | ||
66 | #define wxUSE_DOC_VIEW_ARCHITECTURE 1 | |
67 | // Set to 0 to disable document/view architecture | |
8be97d65 | 68 | #define wxUSE_PRINTING_ARCHITECTURE 0 |
0dbd6262 | 69 | // Set to 0 to disable print/preview architecture code |
8be97d65 | 70 | #define wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW 0 |
0dbd6262 SC |
71 | // Set to 0 to disable PostScript print/preview architecture code |
72 | // under Windows (just use Windows printing). | |
73 | #define wxUSE_DYNAMIC_CLASSES 1 | |
74 | // If 1, enables provision of run-time type information. | |
75 | // NOW MANDATORY: don't change. | |
76 | #define wxUSE_MEMORY_TRACING 1 | |
77 | // If 1, enables debugging versions of wxObject::new and | |
78 | // wxObject::delete *IF* WXDEBUG is also defined. | |
79 | // WARNING: this code may not work with all architectures, especially | |
80 | // if alignment is an issue. | |
81 | #define wxUSE_DEBUG_CONTEXT 1 | |
82 | // If 1, enables wxDebugContext, for | |
83 | // writing error messages to file, etc. | |
84 | // If WXDEBUG is not defined, will still use | |
85 | // normal memory operators. | |
86 | // It's recommended to set this to 1, | |
87 | // since you may well need to output | |
88 | // an error log in a production | |
89 | // version (or non-debugging beta) | |
90 | #define wxUSE_GLOBAL_MEMORY_OPERATORS 0 | |
91 | // In debug mode, cause new and delete to be redefined globally. | |
92 | // If this causes problems (e.g. link errors), set this to 0. | |
93 | ||
94 | #define wxUSE_DEBUG_NEW_ALWAYS 1 | |
95 | // In debug mode, causes new to be defined to | |
96 | // be WXDEBUG_NEW (see object.h). | |
97 | // If this causes problems (e.g. link errors), set this to 0. | |
98 | ||
99 | #define REMOVE_UNUSED_ARG 1 | |
100 | // Set this to 0 if your compiler can't cope | |
101 | // with omission of prototype parameters. | |
102 | ||
103 | #define wxUSE_C_MAIN 0 | |
104 | // Set to 1 to use main.c instead of main.cpp (UNIX only) | |
105 | ||
106 | #define wxUSE_ODBC 0 | |
107 | // Define 1 to use ODBC classes | |
108 | ||
109 | #define wxUSE_IOSTREAMH 0 | |
110 | // VC++ 4.2 and above allows <iostream> and <iostream.h> | |
111 | // but you can't mix them. Set to 1 for <iostream.h>, | |
112 | // 0 for <iostream> | |
113 | ||
8be97d65 | 114 | #define wxUSE_WXCONFIG 0 |
0dbd6262 SC |
115 | // if enabled, compiles built-in OS independent wxConfig |
116 | // class and it's file (any platform) and registry (Win) | |
117 | // based implementations | |
118 | /* | |
119 | * Finer detail | |
120 | * | |
121 | */ | |
122 | ||
123 | #define wxUSE_APPLE_IEEE 1 | |
124 | // if enabled, the float codec written by Apple | |
125 | // will be used to write, in a portable way, | |
126 | // float on the disk | |
127 | ||
128 | #endif | |
129 | // _WX_SETUP_H_ |