3dpcp/.svn/pristine/6c/6ce9de5226968ae0ad95868e8e6183771277ece1.svn-base
2012-09-16 14:33:11 +02:00

42 lines
1.5 KiB
Text

/////////////////////////////////////////////////////////////////////////////
// Name: thingdef.h
// Purpose: Definitions for wxThings
// Author: John Labenski
// Modified by:
// Created: 1/08/1999
// RCS-ID: $Id: thingdef.h,v 1.2 2006/03/21 05:33:19 jrl1 Exp $
// Copyright: (c) John Labenski
// Licence: wxWidgets licence
/////////////////////////////////////////////////////////////////////////////
#ifndef __WX_THINGDEF_H__
#define __WX_THINGDEF_H__
#include "wx/defs.h"
// ----------------------------------------------------------------------------
// DLLIMPEXP macros
// ----------------------------------------------------------------------------
// These are our DLL macros (see the contrib libs like wxPlot)
#ifdef WXMAKINGDLL_THINGS
#define WXDLLIMPEXP_THINGS WXEXPORT
#define WXDLLIMPEXP_DATA_THINGS(type) WXEXPORT type
#elif defined(WXUSINGDLL)
#define WXDLLIMPEXP_THINGS WXIMPORT
#define WXDLLIMPEXP_DATA_THINGS(type) WXIMPORT type
#else // not making nor using DLL
#define WXDLLIMPEXP_THINGS
#define WXDLLIMPEXP_DATA_THINGS(type) type
#endif
// ----------------------------------------------------------------------------
// wxWidgets backwards compatibility macros
// ----------------------------------------------------------------------------
#include "wx/dynarray.h"
#ifndef WX_DECLARE_OBJARRAY_WITH_DECL // for wx2.4 backwards compatibility
#define WX_DECLARE_OBJARRAY_WITH_DECL(T, name, expmode) WX_DECLARE_USER_EXPORTED_OBJARRAY(T, name, WXDLLIMPEXP_THINGS)
#endif
#endif // __WX_THINGDEF_H__