X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/d8fd7acb8b877599b410e07a4c26dde92a676a82..f81dc6e93170cb73c6d614b77e26be49baa724d2:/include/wx/treebook.h diff --git a/include/wx/treebook.h b/include/wx/treebook.h index 0b414e2ba9..fc3fa7731e 100644 --- a/include/wx/treebook.h +++ b/include/wx/treebook.h @@ -240,8 +240,15 @@ public: { } + wxTreebookEvent(const wxTreebookEvent& event) + : wxBookCtrlBaseEvent(event) + { + } + + virtual wxEvent *Clone() const { return new wxTreebookEvent(*this); } + private: - DECLARE_DYNAMIC_CLASS_NO_COPY(wxTreebookEvent) + DECLARE_DYNAMIC_CLASS_NO_ASSIGN(wxTreebookEvent) }; extern WXDLLIMPEXP_CORE const wxEventType wxEVT_COMMAND_TREEBOOK_PAGE_CHANGED;