X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/c058cafa56179e79df02ad370bdeafd725ff2478..a8fd1047b81302d010ff29b9c0885819cbf25011:/include/wx/wizard.h diff --git a/include/wx/wizard.h b/include/wx/wizard.h index ea570b31bc..1368e5e785 100644 --- a/include/wx/wizard.h +++ b/include/wx/wizard.h @@ -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) }; // ----------------------------------------------------------------------------