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:
@@ -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)
|
||||
};
|
||||
|
||||
// ----------------------------------------------------------------------------
|
||||
|
Reference in New Issue
Block a user