]> git.saurik.com Git - wxWidgets.git/blame - contrib/include/wx/deprecated/setup.h
don't wake up on Windows messages when waiting for thread termination in a console...
[wxWidgets.git] / contrib / include / wx / deprecated / setup.h
CommitLineData
4a3bdee6
JS
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
c5a2f274
JJ
22#ifdef wxUSE_TIMEDATE
23#undef wxUSE_TIMEDATE
24#endif
25
4a3bdee6
JS
26#define wxUSE_TIMEDATE 0
27
28// wxProperty[Value/Form/List] classes, used by Dialog Editor
15e8daec
VS
29#ifdef wxUSE_PROPSHEET
30#undef wxUSE_PROPSHEET
31#endif
4a3bdee6
JS
32#define wxUSE_PROPSHEET 1
33
34// wxTreeLayout class
15e8daec
VS
35#ifdef wxUSE_TREELAYOUT
36#undef wxUSE_TREELAYOUT
37#endif
4a3bdee6
JS
38#define wxUSE_TREELAYOUT 1
39
40// use wxExpr (a.k.a. PrologIO)
15e8daec
VS
41#ifdef wxUSE_PROLOGIO
42#undef wxUSE_PROLOGIO
43#endif
4a3bdee6
JS
44#define wxUSE_PROLOGIO 1
45
46// Use .wxr resource mechanism (requires PrologIO library)
c5a2f274
JJ
47#ifdef wxUSE_WX_RESOURCES
48#undef wxUSE_WX_RESOURCES
49#endif
4a3bdee6
JS
50#define wxUSE_WX_RESOURCES 1
51
8a82c9ec
JS
52// Use simple, generic toolbar
53#ifdef wxUSE_TOOLBAR_SIMPLE
54#undef wxUSE_TOOLBAR_SIMPLE
55#endif
56#define wxUSE_TOOLBAR_SIMPLE 1
15e8daec
VS
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
4a3bdee6
JS
70#endif
71 // _WX_DEPRECATED_SETUP_H_