]>
git.saurik.com Git - wxWidgets.git/blob - include/wx/stubs/setup.h
1 /////////////////////////////////////////////////////////////////////////////
3 // Purpose: Configuration for the library
8 // Copyright: (c) AUTHOR
9 // Licence: wxWindows licence
10 /////////////////////////////////////////////////////////////////////////////
20 #define USE_CONSTRAINTS 1
21 // Use constraints mechanism
23 // Use wxConfig, with CreateConfig in wxApp
24 #define _WX_GOODCOMPILER__
25 // gcc can have problems, but Windows compilers
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
33 #define USE_POSTSCRIPT 1
34 // 0 for no PostScript device context
35 #define USE_AFM_FOR_POSTSCRIPT 0
36 // 1 to use font metric files in GetTextExtent
37 #define USE_METAFILE 1
38 // 0 for no Metafile and metafile device context
40 // 0 for no interprocess comms
42 // 0 for no help facility
43 #define USE_RESOURCES 1
44 // 0 for no wxGetResource/wxWriteResource
45 #define USE_CLIPBOARD 1
46 // 0 for no clipboard functions
49 #define USE_XFIG_SPLINE_CODE 1
50 // 1 for XFIG spline code, 0 for AIAI spline code.
51 // AIAI spline code is slower, but freer of copyright issues.
56 #define USE_DRAG_AND_DROP 1
57 // 0 for no drag and drop
59 #define USE_WX_RESOURCES 1
60 // Use .wxr resource mechanism (requires PrologIO library)
62 #define USE_DOC_VIEW_ARCHITECTURE 1
63 // Set to 0 to disable document/view architecture
64 #define USE_PRINTING_ARCHITECTURE 1
65 // Set to 0 to disable print/preview architecture code
66 #define USE_POSTSCRIPT_ARCHITECTURE_IN_MSW 1
67 // Set to 0 to disable PostScript print/preview architecture code
68 // under Windows (just use Windows printing).
69 #define USE_DYNAMIC_CLASSES 1
70 // If 1, enables provision of run-time type information.
71 // NOW MANDATORY: don't change.
72 #define USE_MEMORY_TRACING 1
73 // If 1, enables debugging versions of wxObject::new and
74 // wxObject::delete *IF* WXDEBUG is also defined.
75 // WARNING: this code may not work with all architectures, especially
76 // if alignment is an issue.
77 #define USE_DEBUG_CONTEXT 1
78 // If 1, enables wxDebugContext, for
79 // writing error messages to file, etc.
80 // If WXDEBUG is not defined, will still use
81 // normal memory operators.
82 // It's recommended to set this to 1,
83 // since you may well need to output
84 // an error log in a production
85 // version (or non-debugging beta)
86 #define USE_GLOBAL_MEMORY_OPERATORS 0
87 // In debug mode, cause new and delete to be redefined globally.
88 // If this causes problems (e.g. link errors), set this to 0.
90 #define REMOVE_UNUSED_ARG 1
91 // Set this to 0 if your compiler can't cope
92 // with omission of prototype parameters.
95 // Set to 1 to use main.c instead of main.cpp (UNIX only)
98 // Define 1 to use ODBC classes
100 #define USE_IOSTREAMH 1
101 // VC++ 4.2 and above allows <iostream> and <iostream.h>
102 // but you can't mix them. Set to 1 for <iostream.h>,
105 #define USE_WXCONFIG 1
106 // if enabled, compiles built-in OS independent wxConfig
107 // class and it's file (any platform) and registry (Win)
108 // based implementations
114 #define USE_APPLE_IEEE 1
115 // if enabled, the float codec written by Apple
116 // will be used to write, in a portable way,