fix wxPowerEvent, wxRichTextEvent and wxWizardEvent so that they pass the runtime check for correct implementation of the Clone() function

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57615 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Francesco Montorsi
2008-12-28 01:29:37 +00:00
parent 14372de82e
commit d0960f6d3b
4 changed files with 10 additions and 6 deletions

View File

@@ -272,12 +272,13 @@ public:
wxWizardPage* GetPage() const { return m_page; }
virtual wxEvent *Clone() const { return new wxWizardEvent(*this); }
private:
bool m_direction;
wxWizardPage* m_page;
DECLARE_DYNAMIC_CLASS(wxWizardEvent)
DECLARE_NO_COPY_CLASS(wxWizardEvent)
DECLARE_DYNAMIC_CLASS_NO_ASSIGN(wxWizardEvent)
};
// ----------------------------------------------------------------------------