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:
@@ -153,9 +153,6 @@ protected:
|
||||
|
||||
// called by SetInactiveBitmap
|
||||
virtual void DisplayStaticImage() = 0;
|
||||
|
||||
private:
|
||||
wxDECLARE_ABSTRACT_CLASS(wxAnimationCtrlBase);
|
||||
};
|
||||
|
||||
|
||||
|
@@ -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"
|
||||
|
@@ -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()
|
||||
|
Reference in New Issue
Block a user