Remove wxAnimationCtrlBase from wxRTTI

This is consistent with the other wxFooBase classes which are not part
of it, as they're considered implementation details and not parts of the
API.
This commit is contained in:
Vadim Zeitlin
2020-04-05 17:01:37 +02:00
parent fc3669b551
commit 1bf48dfe29
3 changed files with 3 additions and 6 deletions

View File

@@ -153,9 +153,6 @@ protected:
// called by SetInactiveBitmap
virtual void DisplayStaticImage() = 0;
private:
wxDECLARE_ABSTRACT_CLASS(wxAnimationCtrlBase);
};

View File

@@ -38,11 +38,10 @@ const char wxAnimationCtrlNameStr[] = "animationctrl";
wxAnimation wxNullAnimation;
wxIMPLEMENT_DYNAMIC_CLASS(wxAnimation, wxObject);
wxIMPLEMENT_ABSTRACT_CLASS(wxAnimationCtrlBase, wxControl);
#if !defined(wxHAS_NATIVE_ANIMATIONCTRL)
// In this case the "native" ctrl is the generic ctrl. See wx/animate.h
wxIMPLEMENT_CLASS(wxAnimationCtrl, wxGenericAnimationCtrl);
wxIMPLEMENT_CLASS(wxAnimationCtrl, wxControl);
#endif
#include "wx/listimpl.cpp"

View File

@@ -180,7 +180,8 @@ void wxAnimationGTKImpl::SetPixbuf(GdkPixbufAnimation* p)
// wxAnimationCtrl
//-----------------------------------------------------------------------------
wxIMPLEMENT_DYNAMIC_CLASS(wxAnimationCtrl, wxAnimationCtrlBase);
wxIMPLEMENT_DYNAMIC_CLASS(wxAnimationCtrl, wxControl);
wxBEGIN_EVENT_TABLE(wxAnimationCtrl, wxAnimationCtrlBase)
EVT_TIMER(wxID_ANY, wxAnimationCtrl::OnTimer)
wxEND_EVENT_TABLE()