Break implicit dependency of "core" on "adv" via wxXmlResourceHandlerImplBase.
authorVadim Zeitlin <vadim@wxwidgets.org>
Sat, 27 Oct 2012 00:46:58 +0000 (00:46 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Sat, 27 Oct 2012 00:46:58 +0000 (00:46 +0000)
commitbdb4b8320d066a0931ad66a40bca30a0500d3b65
tree21cf077efb45c199f13b33e4cd75913f4e98d94c
parent9823d1c5d1e46420d29cb4d05d8ea66308c10663
Break implicit dependency of "core" on "adv" via wxXmlResourceHandlerImplBase.

wxXmlResourceHandlerImplBase::GetAnimation() returned wxAnimation by value
which created references to wxAnimationCtrlNameStr and wxNullAnimation
symbols, defined in the "adv" library, in "core" when using Sun CC even though
they were not referenced directly.

Fix this by returning wxAnimation by pointer to keep it opaque for "core" code.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@72782 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
include/wx/xrc/xmlres.h
include/wx/xrc/xmlreshandler.h
samples/xrc/myframe.cpp
src/xrc/xh_animatctrl.cpp
src/xrc/xmladv.cpp