Include wx/xml/xml.h from the XRC handlers that need it.
authorVadim Zeitlin <vadim@wxwidgets.org>
Thu, 25 Oct 2012 22:19:20 +0000 (22:19 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Thu, 25 Oct 2012 22:19:20 +0000 (22:19 +0000)
commitdf27f1dc9e1c44825669cb6e883542719ea91df0
treee2879496d5aab3ac45b79523ae8b7ce1e8e266f1
parentf94a9528463d05305073f73e6e013e29f109bcda
Include wx/xml/xml.h from the XRC handlers that need it.

Including this header from wx/xrc/xmlres.h itself only when WXMAKINGDLL_XRC is
defined doesn't work when we're building a static library and not a shared/DLL
one and we don't have any symbol defined in this case, so just don't try to be
smart and include this header from the files that need it.

This fixes breakage of r72756.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@72776 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
15 files changed:
include/wx/xrc/xmlres.h
src/xrc/xh_bmpcbox.cpp
src/xrc/xh_chckl.cpp
src/xrc/xh_choic.cpp
src/xrc/xh_combo.cpp
src/xrc/xh_editlbox.cpp
src/xrc/xh_htmllbox.cpp
src/xrc/xh_listb.cpp
src/xrc/xh_odcombo.cpp
src/xrc/xh_radbx.cpp
src/xrc/xh_sizer.cpp
src/xrc/xh_split.cpp
src/xrc/xh_toolb.cpp
src/xrc/xh_toolbk.cpp
src/xrc/xh_treebk.cpp