2003-03-30 14:47:55 -05:00
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
|
|
// Name: wx/deprecated/setup.h
|
|
|
|
// Purpose: Configuration for deprecated features of the library
|
|
|
|
// Author: Julian Smart
|
|
|
|
// Modified by:
|
|
|
|
// Created: 2003-03-30
|
|
|
|
// RCS-ID: $Id$
|
|
|
|
// Copyright: (c) Julian Smart
|
|
|
|
// Licence: wxWindows licence
|
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
|
|
|
|
|
|
#ifndef _WX_DEPRECATED_SETUP_H_
|
|
|
|
#define _WX_DEPRECATED_SETUP_H_
|
|
|
|
|
|
|
|
// wxUSE_TIMEDATE enables compilation of the old wxDate and wxTime classes (not
|
|
|
|
// the same as wxDateTime!). These classes are obsolete and shouldn't be used
|
|
|
|
// in new code
|
|
|
|
//
|
|
|
|
// Default is 0
|
|
|
|
//
|
|
|
|
// Recommended setting: 0 unless you have legacy code which uses these classes
|
2003-04-25 02:06:08 -04:00
|
|
|
#ifdef wxUSE_TIMEDATE
|
|
|
|
#undef wxUSE_TIMEDATE
|
|
|
|
#endif
|
|
|
|
|
2003-03-30 14:47:55 -05:00
|
|
|
#define wxUSE_TIMEDATE 0
|
|
|
|
|
|
|
|
// wxProperty[Value/Form/List] classes, used by Dialog Editor
|
2003-08-03 13:11:53 -04:00
|
|
|
#ifdef wxUSE_PROPSHEET
|
|
|
|
#undef wxUSE_PROPSHEET
|
|
|
|
#endif
|
2003-03-30 14:47:55 -05:00
|
|
|
#define wxUSE_PROPSHEET 1
|
|
|
|
|
|
|
|
// wxTreeLayout class
|
2003-08-03 13:11:53 -04:00
|
|
|
#ifdef wxUSE_TREELAYOUT
|
|
|
|
#undef wxUSE_TREELAYOUT
|
|
|
|
#endif
|
2003-03-30 14:47:55 -05:00
|
|
|
#define wxUSE_TREELAYOUT 1
|
|
|
|
|
|
|
|
// use wxExpr (a.k.a. PrologIO)
|
2003-08-03 13:11:53 -04:00
|
|
|
#ifdef wxUSE_PROLOGIO
|
|
|
|
#undef wxUSE_PROLOGIO
|
|
|
|
#endif
|
2003-03-30 14:47:55 -05:00
|
|
|
#define wxUSE_PROLOGIO 1
|
|
|
|
|
|
|
|
// Use .wxr resource mechanism (requires PrologIO library)
|
2003-04-25 02:06:08 -04:00
|
|
|
#ifdef wxUSE_WX_RESOURCES
|
|
|
|
#undef wxUSE_WX_RESOURCES
|
|
|
|
#endif
|
2003-03-30 14:47:55 -05:00
|
|
|
#define wxUSE_WX_RESOURCES 1
|
|
|
|
|
2003-08-17 06:20:08 -04:00
|
|
|
// Use simple, generic toolbar
|
|
|
|
#ifdef wxUSE_TOOLBAR_SIMPLE
|
|
|
|
#undef wxUSE_TOOLBAR_SIMPLE
|
|
|
|
#endif
|
|
|
|
#define wxUSE_TOOLBAR_SIMPLE 1
|
2003-08-03 13:11:53 -04:00
|
|
|
|
|
|
|
|
|
|
|
#ifdef WXMAKINGDLL_DEPRECATED
|
|
|
|
#define WXDLLIMPEXP_DEPRECATED WXEXPORT
|
|
|
|
#define WXDLLIMPEXP_DATA_DEPRECATED(type) WXEXPORT type
|
|
|
|
#elif defined(WXUSINGDLL)
|
|
|
|
#define WXDLLIMPEXP_DEPRECATED WXIMPORT
|
|
|
|
#define WXDLLIMPEXP_DATA_DEPRECATED(type) WXIMPORT type
|
|
|
|
#else // not making nor using DLL
|
|
|
|
#define WXDLLIMPEXP_DEPRECATED
|
|
|
|
#define WXDLLIMPEXP_DATA_DEPRECATED(type) type
|
|
|
|
#endif
|
|
|
|
|
2003-03-30 14:47:55 -05:00
|
|
|
#endif
|
|
|
|
// _WX_DEPRECATED_SETUP_H_
|