]>
Commit | Line | Data |
---|---|---|
7c23a0b0 JS |
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 USE_CONFIG 1 | |
21 | // Use wxConfig, with CreateConfig in wxApp | |
22 | #define _WX_GOODCOMPILER__ | |
23 | // gcc can have problems, but Windows compilers | |
24 | // are generally OK. | |
25 | #define WXWIN_COMPATIBILITY 1 | |
26 | // Compatibility with 1.66 API. | |
27 | // Level 0: no backward compatibility, all new features | |
28 | // Level 1: wxDC, OnSize (etc.) compatibility, but | |
29 | // some new features such as event tables | |
30 | ||
31 | #define USE_POSTSCRIPT 1 | |
32 | // 0 for no PostScript device context | |
33 | #define USE_AFM_FOR_POSTSCRIPT 0 | |
34 | // 1 to use font metric files in GetTextExtent | |
35 | #define USE_METAFILE 1 | |
36 | // 0 for no Metafile and metafile device context | |
37 | #define USE_IPC 1 | |
38 | // 0 for no interprocess comms | |
39 | #define USE_HELP 1 | |
40 | // 0 for no help facility | |
41 | #define USE_RESOURCES 1 | |
42 | // 0 for no wxGetResource/wxWriteResource | |
43 | #define USE_CLIPBOARD 1 | |
44 | // 0 for no clipboard functions | |
45 | #define USE_SPLINES 1 | |
46 | // 0 for no splines | |
47 | #define USE_XFIG_SPLINE_CODE 1 | |
48 | // 1 for XFIG spline code, 0 for AIAI spline code. | |
49 | // AIAI spline code is slower, but freer of copyright issues. | |
34138703 | 50 | // 0 for no splines |
7c23a0b0 | 51 | |
34138703 JS |
52 | #define USE_TOOLBAR 1 |
53 | // Use toolbars | |
7c23a0b0 JS |
54 | #define USE_DRAG_AND_DROP 1 |
55 | // 0 for no drag and drop | |
56 | ||
57 | #define USE_WX_RESOURCES 1 | |
58 | // Use .wxr resource mechanism (requires PrologIO library) | |
59 | ||
60 | #define USE_DOC_VIEW_ARCHITECTURE 1 | |
61 | // Set to 0 to disable document/view architecture | |
62 | #define USE_PRINTING_ARCHITECTURE 1 | |
63 | // Set to 0 to disable print/preview architecture code | |
64 | #define USE_POSTSCRIPT_ARCHITECTURE_IN_MSW 1 | |
65 | // Set to 0 to disable PostScript print/preview architecture code | |
66 | // under Windows (just use Windows printing). | |
67 | #define USE_DYNAMIC_CLASSES 1 | |
68 | // If 1, enables provision of run-time type information. | |
69 | // NOW MANDATORY: don't change. | |
70 | #define USE_MEMORY_TRACING 1 | |
71 | // If 1, enables debugging versions of wxObject::new and | |
72 | // wxObject::delete *IF* WXDEBUG is also defined. | |
73 | // WARNING: this code may not work with all architectures, especially | |
74 | // if alignment is an issue. | |
75 | #define USE_DEBUG_CONTEXT 1 | |
76 | // If 1, enables wxDebugContext, for | |
77 | // writing error messages to file, etc. | |
78 | // If WXDEBUG is not defined, will still use | |
79 | // normal memory operators. | |
80 | // It's recommended to set this to 1, | |
81 | // since you may well need to output | |
82 | // an error log in a production | |
83 | // version (or non-debugging beta) | |
34138703 | 84 | #define USE_GLOBAL_MEMORY_OPERATORS 0 |
7c23a0b0 JS |
85 | // In debug mode, cause new and delete to be redefined globally. |
86 | // If this causes problems (e.g. link errors), set this to 0. | |
87 | ||
88 | #define REMOVE_UNUSED_ARG 1 | |
89 | // Set this to 0 if your compiler can't cope | |
90 | // with omission of prototype parameters. | |
91 | ||
92 | #define USE_C_MAIN 0 | |
93 | // Set to 1 to use main.c instead of main.cpp (UNIX only) | |
94 | ||
95 | #define USE_ODBC 1 | |
96 | // Define 1 to use ODBC classes | |
97 | ||
98 | #define USE_IOSTREAMH 1 | |
99 | // VC++ 4.2 and above allows <iostream> and <iostream.h> | |
100 | // but you can't mix them. Set to 1 for <iostream.h>, | |
101 | // 0 for <iostream> | |
102 | ||
103 | #define USE_WXCONFIG 1 | |
104 | // if enabled, compiles built-in OS independent wxConfig | |
105 | // class and it's file (any platform) and registry (Win) | |
106 | // based implementations | |
107 | /* | |
108 | * Finer detail | |
109 | * | |
110 | */ | |
111 | ||
112 | #define USE_APPLE_IEEE 1 | |
113 | // if enabled, the float codec written by Apple | |
114 | // will be used to write, in a portable way, | |
115 | // float on the disk | |
116 | ||
117 | #endif | |
118 | // _WX_SETUP_H_ |