X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/d8fd7acb8b877599b410e07a4c26dde92a676a82..6a5c9b3ff71334ed30bd9ae15425a1ca8ae71174:/include/wx/listbook.h diff --git a/include/wx/listbook.h b/include/wx/listbook.h index 6c30f80819..b8022730f7 100644 --- a/include/wx/listbook.h +++ b/include/wx/listbook.h @@ -78,6 +78,9 @@ protected: // get the size which the list control should have virtual wxSize GetControllerSize() const; + // return the page corresponding to the tab at the specified position + virtual int HitTest(const wxPoint& pt, long *flags = NULL) const; + // event handlers void OnListSelected(wxListEvent& event); void OnSize(wxSizeEvent& event); @@ -106,8 +109,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;