]> git.saurik.com Git - wxWidgets.git/blob - contrib/include/wx/deprecated/setup.h
Moved wxToolBarSimple to deprecated library
[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 // Use simple, generic toolbar
53 #ifdef wxUSE_TOOLBAR_SIMPLE
54 #undef wxUSE_TOOLBAR_SIMPLE
55 #endif
56 #define wxUSE_TOOLBAR_SIMPLE 1
57
58
59 #ifdef WXMAKINGDLL_DEPRECATED
60 #define WXDLLIMPEXP_DEPRECATED WXEXPORT
61 #define WXDLLIMPEXP_DATA_DEPRECATED(type) WXEXPORT type
62 #elif defined(WXUSINGDLL)
63 #define WXDLLIMPEXP_DEPRECATED WXIMPORT
64 #define WXDLLIMPEXP_DATA_DEPRECATED(type) WXIMPORT type
65 #else // not making nor using DLL
66 #define WXDLLIMPEXP_DEPRECATED
67 #define WXDLLIMPEXP_DATA_DEPRECATED(type) type
68 #endif
69
70 #endif
71 // _WX_DEPRECATED_SETUP_H_