]>
Commit | Line | Data |
---|---|---|
2b5f62a0 VZ |
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 | */ | |
510b9edb VS |
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 | |
2b5f62a0 VZ |
28 | |
29 | /////////////////////////////////////////////////////////////////////////////// | |
30 | // Override some of the wxArray functions to | |
31 | // include our definitions | |
32 | /////////////////////////////////////////////////////////////////////////////// | |
33 | #define WXFL_DEFINE_ARRAY(c,l) \ | |
510b9edb | 34 | class WXDLLIMPEXP_FL l; \ |
2b5f62a0 VZ |
35 | WX_DEFINE_ARRAY(c,l) |
36 | ||
659f8ec3 | 37 | #define WXFL_DEFINE_ARRAY_PTR(c,l)\ |
2913c590 | 38 | class WXDLLIMPEXP_FL l; \ |
659f8ec3 | 39 | WX_DEFINE_ARRAY_PTR(c,l) |
2913c590 | 40 | |
2b5f62a0 | 41 | #define WXFL_DEFINE_ARRAY_LONG(t,l) \ |
510b9edb | 42 | class WXDLLIMPEXP_FL l; \ |
2b5f62a0 VZ |
43 | WX_DEFINE_ARRAY_LONG(t,l) |
44 | ||
45 | ||
46 | #endif // __fldefs_H_INCLUDED__ |