X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/d8fd7acb8b877599b410e07a4c26dde92a676a82..3871d4ca7599c1156e4cca908ebdeb1474608650:/include/wx/choicebk.h?ds=inline

diff --git a/include/wx/choicebk.h b/include/wx/choicebk.h
index 4a5a684382..6c215fc764 100644
--- a/include/wx/choicebk.h
+++ b/include/wx/choicebk.h
@@ -105,8 +105,15 @@ public:
     {
     }
 
+    wxChoicebookEvent(const wxChoicebookEvent& event)
+        : wxBookCtrlBaseEvent(event)
+    {
+    }
+
+    virtual wxEvent *Clone() const { return new wxChoicebookEvent(*this); }
+
 private:
-    DECLARE_DYNAMIC_CLASS_NO_COPY(wxChoicebookEvent)
+    DECLARE_DYNAMIC_CLASS_NO_ASSIGN(wxChoicebookEvent)
 };
 
 extern WXDLLIMPEXP_CORE const wxEventType wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGED;