Added virtual destructor

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@64016 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robert Roebling
2010-04-17 12:34:32 +00:00
parent 901abd5953
commit 2a227e8c9f
2 changed files with 5 additions and 0 deletions

View File

@@ -376,6 +376,7 @@ class WXDLLIMPEXP_BASE wxAnyToVariantRegistration
{ {
public: public:
wxAnyToVariantRegistration(wxVariantDataFactory factory); wxAnyToVariantRegistration(wxVariantDataFactory factory);
virtual ~wxAnyToVariantRegistration();
virtual wxAnyValueType* GetAssociatedType() = 0; virtual wxAnyValueType* GetAssociatedType() = 0;
wxVariantDataFactory GetFactory() const { return m_factory; } wxVariantDataFactory GetFactory() const { return m_factory; }

View File

@@ -206,6 +206,10 @@ wxAnyToVariantRegistration::
wxPreRegisterAnyToVariant(this); wxPreRegisterAnyToVariant(this);
} }
wxAnyToVariantRegistration::~wxAnyToVariantRegistration()
{
}
wxVariant::wxVariant(const wxAny& any) wxVariant::wxVariant(const wxAny& any)
: wxObject() : wxObject()
{ {