git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33486
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
fi
AC_SUBST(COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN)
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
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)
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
dnl ### begin block 20_COND_TOOLKIT_[wx.bkl] ###
COND_TOOLKIT_="#"
if test "x$TOOLKIT" = "x" ; then
multicell.cpp
splittree.cpp
statpict.cpp
multicell.cpp
splittree.cpp
statpict.cpp
+ </set>
+
+ <set var="GIZMOS_XRC_SRC">
wx/gizmos/multicell.h
wx/gizmos/splittree.h
wx/gizmos/statpict.h
wx/gizmos/multicell.h
wx/gizmos/splittree.h
wx/gizmos/statpict.h
- wx/gizmos/xh_statpict.h
+ wx/gizmos/xh_statpict.h
<define>WXUSINGDLL</define>
<define>WXMAKINGDLL_GIZMOS</define>
<sources>$(GIZMOS_SRC)</sources>
<define>WXUSINGDLL</define>
<define>WXMAKINGDLL_GIZMOS</define>
<sources>$(GIZMOS_SRC)</sources>
+ </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>
</dll>
<lib id="gizmoslib" template="wx_contrib_lib" cond="SHARED=='0'">
<sources>$(GIZMOS_SRC)</sources>
</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=gizmoslib+gizmosdll</set>
+ <set var="MSVC6PRJ_MERGED_TARGETS" append="1">gizmos_xrc=gizmos_xrclib+gizmos_xrcdll</set>
#define WXDLLIMPEXP_GIZMOS
#endif
#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
+
// XML resource handler for the wxStaticPicture class in wxContrib.
//
// XML resource handler for the wxStaticPicture class in wxContrib.
//
-class WXDLLIMPEXP_GIZMOS wxStaticPictureXmlHandler : public wxXmlResourceHandler
+class WXDLLIMPEXP_GIZMOS_XRC wxStaticPictureXmlHandler
+ : public wxXmlResourceHandler