]>
git.saurik.com Git - wxWidgets.git/blob - contrib/include/wx/fl/fldefs.h
1 /////////////////////////////////////////////////////////////////////////////
3 // Purpose: Declaration of global types and defines.
4 // Author: David M. Falkinder (david_falkinder@hp.com)
8 // Copyright: (c) David M. Falkinder
9 // Licence: wxWindows licence
10 /////////////////////////////////////////////////////////////////////////////
12 #ifndef __fldefs_H_INCLUDED__
13 #define __fldefs_H_INCLUDED__
18 * If we're using wx in Dynamic Library format do we
19 * want FL to be in DLL form as well?
21 #if defined(WXUSINGDLL) && \
22 (defined(WXMAKING_FL_DLL) || defined(WXUSING_FL_DLL))
24 #if defined(WXMAKING_FL_DLL)
25 // When building the DLL WXFLDECLSPEC exports classes
26 # define WXFL_DECLSPEC WXEXPORT
27 #elif defined(WXUSING_FL_DLL)
28 // When building the DLL WXFLDECLSPEC imports classes
29 # define WXFL_DECLSPEC WXIMPORT
30 #endif // defined(WXBUILD_FL_DLL)
33 // When building the static library nullify the effect of WXFL_DECLSPEC
35 #endif // WXUSINGDLL && (WXMAKING_FL_DLL || WXUSING_FL_DLL)
37 ///////////////////////////////////////////////////////////////////////////////
38 // Override some of the wxArray functions to
39 // include our definitions
40 ///////////////////////////////////////////////////////////////////////////////
41 #define WXFL_DEFINE_ARRAY(c,l) \
42 class WXFL_DECLSPEC l; \
45 #define WXFL_DEFINE_ARRAY_LONG(t,l) \
46 class WXFL_DECLSPEC l; \
47 WX_DEFINE_ARRAY_LONG(t,l)
50 #endif // __fldefs_H_INCLUDED__