]>
git.saurik.com Git - wxWidgets.git/blob - 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
8 // Copyright: (c) Julian Smart
9 // Licence: wxWindows licence
10 /////////////////////////////////////////////////////////////////////////////
12 #ifndef _WX_DEPRECATED_SETUP_H_
13 #define _WX_DEPRECATED_SETUP_H_
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
21 // Recommended setting: 0 unless you have legacy code which uses these classes
26 #define wxUSE_TIMEDATE 0
28 // wxProperty[Value/Form/List] classes, used by Dialog Editor
29 #ifdef wxUSE_PROPSHEET
30 #undef wxUSE_PROPSHEET
32 #define wxUSE_PROPSHEET 1
35 #ifdef wxUSE_TREELAYOUT
36 #undef wxUSE_TREELAYOUT
38 #define wxUSE_TREELAYOUT 1
40 // use wxExpr (a.k.a. PrologIO)
44 #define wxUSE_PROLOGIO 1
46 // Use .wxr resource mechanism (requires PrologIO library)
47 #ifdef wxUSE_WX_RESOURCES
48 #undef wxUSE_WX_RESOURCES
50 #define wxUSE_WX_RESOURCES 1
52 // Use simple, generic toolbar
53 #ifdef wxUSE_TOOLBAR_SIMPLE
54 #undef wxUSE_TOOLBAR_SIMPLE
56 #define wxUSE_TOOLBAR_SIMPLE 1
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
71 // _WX_DEPRECATED_SETUP_H_