#include "wx/string.h"
#include "wx/artprov.h"
#include "wx/colour.h"
-#include "wx/animate.h"
#include "wx/filesys.h"
#include "wx/imaglist.h"
+#include "wx/window.h"
+
+class WXDLLIMPEXP_FWD_ADV wxAnimation;
class WXDLLIMPEXP_FWD_XML wxXmlNode;
class WXDLLIMPEXP_FWD_XML wxXmlResource;
virtual wxImageList *GetImageList(const wxString& param = wxT("imagelist")) = 0;
#if wxUSE_ANIMATIONCTRL
- virtual wxAnimation GetAnimation(const wxString& param = wxT("animation")) = 0;
+ virtual wxAnimation* GetAnimation(const wxString& param = wxT("animation")) = 0;
#endif
virtual wxFont GetFont(const wxString& param = wxT("font"), wxWindow* parent = NULL) = 0;
// Everything else is simply forwarded to wxXmlResourceHandlerImpl.
void ReportError(wxXmlNode *context, const wxString& message)
{
- return GetImpl()->ReportError(context, message);
+ GetImpl()->ReportError(context, message);
}
void ReportError(const wxString& message)
{
- return GetImpl()->ReportError(message);
+ GetImpl()->ReportError(message);
}
void ReportParamError(const wxString& param, const wxString& message)
{
- return GetImpl()->ReportParamError(param, message);
+ GetImpl()->ReportParamError(param, message);
}
bool IsOfClass(wxXmlNode *node, const wxString& classname) const
}
#if wxUSE_ANIMATIONCTRL
- wxAnimation GetAnimation(const wxString& param = wxT("animation"))
+ wxAnimation* GetAnimation(const wxString& param = wxT("animation"))
{
return GetImpl()->GetAnimation(param);
}