]> git.saurik.com Git - wxWidgets.git/blob - contrib/include/wx/deprecated/setup.h
ported rest of contrib to bakefile
[wxWidgets.git] / contrib / include / wx / deprecated / setup.h
1 /////////////////////////////////////////////////////////////////////////////
2 // Name: wx/deprecated/setup.h
3 // Purpose: Configuration for deprecated features of the library
4 // Author: Julian Smart
5 // Modified by:
6 // Created: 2003-03-30
7 // RCS-ID: $Id$
8 // Copyright: (c) Julian Smart
9 // Licence: wxWindows licence
10 /////////////////////////////////////////////////////////////////////////////
11
12 #ifndef _WX_DEPRECATED_SETUP_H_
13 #define _WX_DEPRECATED_SETUP_H_
14
15 // wxUSE_TIMEDATE enables compilation of the old wxDate and wxTime classes (not
16 // the same as wxDateTime!). These classes are obsolete and shouldn't be used
17 // in new code
18 //
19 // Default is 0
20 //
21 // Recommended setting: 0 unless you have legacy code which uses these classes
22 #ifdef wxUSE_TIMEDATE
23 #undef wxUSE_TIMEDATE
24 #endif
25
26 #define wxUSE_TIMEDATE 0
27
28 // wxProperty[Value/Form/List] classes, used by Dialog Editor
29 #ifdef wxUSE_PROPSHEET
30 #undef wxUSE_PROPSHEET
31 #endif
32 #define wxUSE_PROPSHEET 1
33
34 // wxTreeLayout class
35 #ifdef wxUSE_TREELAYOUT
36 #undef wxUSE_TREELAYOUT
37 #endif
38 #define wxUSE_TREELAYOUT 1
39
40 // use wxExpr (a.k.a. PrologIO)
41 #ifdef wxUSE_PROLOGIO
42 #undef wxUSE_PROLOGIO
43 #endif
44 #define wxUSE_PROLOGIO 1
45
46 // Use .wxr resource mechanism (requires PrologIO library)
47 #ifdef wxUSE_WX_RESOURCES
48 #undef wxUSE_WX_RESOURCES
49 #endif
50 #define wxUSE_WX_RESOURCES 1
51
52
53
54
55
56 #ifdef WXMAKINGDLL_DEPRECATED
57 #define WXDLLIMPEXP_DEPRECATED WXEXPORT
58 #define WXDLLIMPEXP_DATA_DEPRECATED(type) WXEXPORT type
59 #elif defined(WXUSINGDLL)
60 #define WXDLLIMPEXP_DEPRECATED WXIMPORT
61 #define WXDLLIMPEXP_DATA_DEPRECATED(type) WXIMPORT type
62 #else // not making nor using DLL
63 #define WXDLLIMPEXP_DEPRECATED
64 #define WXDLLIMPEXP_DATA_DEPRECATED(type) type
65 #endif
66
67 #endif
68 // _WX_DEPRECATED_SETUP_H_