- void OnNotebook(wxNotebookEvent& event);
- void OnChoicebook(wxChoicebookEvent& event);
- void OnListbook(wxListbookEvent& event);
+#if wxUSE_HELP
+ void OnContextHelp(wxCommandEvent& event);
+#endif // wxUSE_HELP
+
+ void OnHitTest(wxCommandEvent& event);
+
+ void OnBookCtrl(wxBookCtrlBaseEvent& event);
+#if wxUSE_NOTEBOOK
+ void OnNotebook(wxNotebookEvent& event) { OnBookCtrl(event); }
+#endif
+#if wxUSE_CHOICEBOOK
+ void OnChoicebook(wxChoicebookEvent& event) { OnBookCtrl(event); }
+#endif
+#if wxUSE_LISTBOOK
+ void OnListbook(wxListbookEvent& event) { OnBookCtrl(event); }
+#endif
+#if wxUSE_TREEBOOK
+ void OnTreebook(wxTreebookEvent& event) { OnBookCtrl(event); }
+#endif
+#if wxUSE_TOOLBOOK
+ void OnToolbook(wxToolbookEvent& event) { OnBookCtrl(event); }
+#endif
+#if wxUSE_AUI
+ void OnAuiNotebook(wxAuiNotebookEvent& event) { OnBookCtrl(event); }
+#endif