]> git.saurik.com Git - wxWidgets.git/blob - contrib/include/wx/fl/fldefs.h
Avoid warnings from mgl headers if possible.
[wxWidgets.git] / contrib / include / wx / fl / fldefs.h
1 /////////////////////////////////////////////////////////////////////////////
2 // Name: fldefs.h
3 // Purpose: Declaration of global types and defines.
4 // Author: David M. Falkinder (david_falkinder@hp.com)
5 // Modified by:
6 // Created: 18/09/2002
7 // RCS-ID: $Id$
8 // Copyright: (c) David M. Falkinder
9 // Licence: wxWindows licence
10 /////////////////////////////////////////////////////////////////////////////
11
12 #ifndef __fldefs_H_INCLUDED__
13 #define __fldefs_H_INCLUDED__
14
15 #include "wx/defs.h"
16
17 /*
18 * If we're using wx in Dynamic Library format do we
19 * want FL to be in DLL form as well?
20 */
21 #ifdef WXMAKINGDLL_FL
22 #define WXDLLIMPEXP_FL WXEXPORT
23 #elif defined(WXUSINGDLL)
24 #define WXDLLIMPEXP_FL WXIMPORT
25 #else // not making nor using DLL
26 #define WXDLLIMPEXP_FL
27 #endif
28
29 ///////////////////////////////////////////////////////////////////////////////
30 // Override some of the wxArray functions to
31 // include our definitions
32 ///////////////////////////////////////////////////////////////////////////////
33 #define WXFL_DEFINE_ARRAY(c,l) \
34 class WXDLLIMPEXP_FL l; \
35 WX_DEFINE_ARRAY(c,l)
36
37 #define WXFL_DEFINE_ARRAY_PTR(c,l)\
38 class WXDLLIMPEXP_FL l; \
39 WX_DEFINE_ARRAY_PTR(c,l)
40
41 #define WXFL_DEFINE_ARRAY_LONG(t,l) \
42 class WXDLLIMPEXP_FL l; \
43 WX_DEFINE_ARRAY_LONG(t,l)
44
45
46 #endif // __fldefs_H_INCLUDED__