]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/treebook.h
made wxHtmlWindow::SetPage virtual so that the behaviour can be customized
[wxWidgets.git] / include / wx / treebook.h
index 0b414e2ba9b8c24ba3ee7619b3c7ecf2fbcb535d..fc3fa7731ef429b839095052230075ac80b669cf 100644 (file)
@@ -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;