No need for wxRTTI in wxAnimationImpl
This commit is contained in:
@@ -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);
|
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
@@ -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);
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user