]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/choicebk.h
don't use static buffer needing a critical section to protect it for logging; this...
[wxWidgets.git] / include / wx / choicebk.h
index 4a5a684382178fc9af8a83e07bbd87f710e80364..6c215fc7645c10f27cbcd008e6d9fd77b261b09c 100644 (file)
@@ -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;