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
This commit is contained in:
@@ -26,7 +26,6 @@
|
||||
#include "wx/icon.h"
|
||||
#include "wx/artprov.h"
|
||||
#include "wx/colour.h"
|
||||
#include "wx/animate.h"
|
||||
#include "wx/vector.h"
|
||||
|
||||
#include "wx/xrc/xmlreshandler.h"
|
||||
@@ -565,7 +564,7 @@ public:
|
||||
|
||||
#if wxUSE_ANIMATIONCTRL
|
||||
// Gets an animation.
|
||||
wxAnimation GetAnimation(const wxString& param = wxT("animation"));
|
||||
wxAnimation* GetAnimation(const wxString& param = wxT("animation"));
|
||||
#endif
|
||||
|
||||
// Gets a font.
|
||||
|
Reference in New Issue
Block a user