COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
fi
AC_SUBST(COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN)
+dnl ### begin block 20_COND_SHARED_0_USE_XRC_1[../../contrib/build/gizmos/gizmos.bkl] ###
+ COND_SHARED_0_USE_XRC_1="#"
+ if test "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
+ COND_SHARED_0_USE_XRC_1=""
+ fi
+ AC_SUBST(COND_SHARED_0_USE_XRC_1)
dnl ### begin block 20_COND_SHARED_0_WXUSE_EXPAT_BUILTIN[wx.bkl] ###
COND_SHARED_0_WXUSE_EXPAT_BUILTIN="#"
if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
COND_SHARED_1_USE_GUI_1_USE_OPENGL_1=""
fi
AC_SUBST(COND_SHARED_1_USE_GUI_1_USE_OPENGL_1)
+dnl ### begin block 20_COND_SHARED_1_USE_XRC_1[../../contrib/build/gizmos/gizmos.bkl] ###
+ COND_SHARED_1_USE_XRC_1="#"
+ if test "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
+ COND_SHARED_1_USE_XRC_1=""
+ fi
+ AC_SUBST(COND_SHARED_1_USE_XRC_1)
dnl ### begin block 20_COND_TOOLKIT_[wx.bkl] ###
COND_TOOLKIT_="#"
if test "x$TOOLKIT" = "x" ; then
multicell.cpp
splittree.cpp
statpict.cpp
+ </set>
+
+ <set var="GIZMOS_XRC_SRC">
xh_statpict.cpp
</set>
wx/gizmos/multicell.h
wx/gizmos/splittree.h
wx/gizmos/statpict.h
- wx/gizmos/xh_statpict.h
wx/gizmos/gizmos.h
+ wx/gizmos/xh_statpict.h
</files>
</headers>
<define>WXUSINGDLL</define>
<define>WXMAKINGDLL_GIZMOS</define>
<sources>$(GIZMOS_SRC)</sources>
+ <wx-lib>core</wx-lib>
<wx-lib>base</wx-lib>
+ </dll>
+
+ <dll id="gizmos_xrcdll" template="wx_contrib_dll"
+ cond="SHARED=='1' and USE_XRC=='1'">
+ <define>WXUSINGDLL</define>
+ <define>WXMAKINGDLL_GIZMOS_XRC</define>
+ <sources>$(GIZMOS_XRC_SRC)</sources>
+ <library>gizmosdll</library>
+ <wx-lib>xrc</wx-lib>
<wx-lib>core</wx-lib>
+ <wx-lib>base</wx-lib>
</dll>
<lib id="gizmoslib" template="wx_contrib_lib" cond="SHARED=='0'">
<sources>$(GIZMOS_SRC)</sources>
</lib>
+
+ <lib id="gizmos_xrclib" template="wx_contrib_lib"
+ cond="SHARED=='0' and USE_XRC=='1'">
+ <sources>$(GIZMOS_XRC_SRC)</sources>
+ </lib>
<set var="MSVC6PRJ_MERGED_TARGETS" append="1">gizmos=gizmoslib+gizmosdll</set>
+ <set var="MSVC6PRJ_MERGED_TARGETS" append="1">gizmos_xrc=gizmos_xrclib+gizmos_xrcdll</set>
</makefile>
#define WXDLLIMPEXP_GIZMOS
#endif
+#ifdef WXMAKINGDLL_GIZMOS_XRC
+ #define WXDLLIMPEXP_GIZMOS_XRC WXEXPORT
+#elif defined(WXUSINGDLL)
+ #define WXDLLIMPEXP_GIZMOS_XRC WXIMPORT
+#else // not making nor using DLL
+ #define WXDLLIMPEXP_GIZMOS
+#endif
+
#endif
// XML resource handler for the wxStaticPicture class in wxContrib.
//
-class WXDLLIMPEXP_GIZMOS wxStaticPictureXmlHandler : public wxXmlResourceHandler
+class WXDLLIMPEXP_GIZMOS_XRC wxStaticPictureXmlHandler
+ : public wxXmlResourceHandler
{
public: