add Clone() to wxXXXbookEvent and copy ctor to wxBookCtrlBaseEvent

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36149 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin 2005-11-10 12:02:00 +00:00
parent e710277282
commit 75865c8dc7

View File

@ -106,8 +106,15 @@ public:
{
}
wxListbookEvent(const wxListbookEvent& event)
: wxBookCtrlBaseEvent(event)
{
}
virtual wxEvent *Clone() const { return new wxListbookEvent(*this); }
private:
DECLARE_DYNAMIC_CLASS_NO_COPY(wxListbookEvent)
DECLARE_DYNAMIC_CLASS_NO_ASSIGN(wxListbookEvent)
};
extern WXDLLIMPEXP_CORE const wxEventType wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED;