No need for wxRTTI in wxAnimationImpl

This commit is contained in:
Robin Dunn
2020-04-02 13:48:37 -07:00
parent f780f3cfef
commit 8153605cf0
2 changed files with 1 additions and 4 deletions

View File

@@ -56,9 +56,6 @@ public:
wxAnimationType type = wxANIMATION_TYPE_ANY) = 0; wxAnimationType type = wxANIMATION_TYPE_ANY) = 0;
virtual bool Load(wxInputStream& stream, virtual bool Load(wxInputStream& stream,
wxAnimationType type = wxANIMATION_TYPE_ANY) = 0; wxAnimationType type = wxANIMATION_TYPE_ANY) = 0;
protected:
wxDECLARE_ABSTRACT_CLASS(wxAnimationImpl);
}; };

View File

@@ -29,10 +29,10 @@
#include "wx/image.h" #include "wx/image.h"
#include "wx/dcmemory.h" #include "wx/dcmemory.h"
// global objects
const char wxAnimationCtrlNameStr[] = "animationctrl"; const char wxAnimationCtrlNameStr[] = "animationctrl";
wxAnimation wxNullAnimation; wxAnimation wxNullAnimation;
wxIMPLEMENT_ABSTRACT_CLASS(wxAnimationImpl, wxObject);
wxIMPLEMENT_DYNAMIC_CLASS(wxAnimation, wxObject); wxIMPLEMENT_DYNAMIC_CLASS(wxAnimation, wxObject);
wxIMPLEMENT_ABSTRACT_CLASS(wxAnimationCtrlBase, wxControl); wxIMPLEMENT_ABSTRACT_CLASS(wxAnimationCtrlBase, wxControl);