Use real wxAuiNotebook base class in its wxBEGIN_EVENT_TABLE()

This shouldn't really change anything, but is more appropriate and might
matter in the future if other event handlers are added to wxBookCtrlBase
event table.
This commit is contained in:
Vadim Zeitlin
2021-06-10 14:23:13 +02:00
parent cd856d66fc
commit 80b3348c39

View File

@@ -1639,7 +1639,7 @@ const int wxAuiBaseTabCtrlId = 5380;
#define EVT_AUI_RANGE(id1, id2, event, func) \
wx__DECLARE_EVT2(event, id1, id2, wxAuiNotebookEventHandler(func))
wxBEGIN_EVENT_TABLE(wxAuiNotebook, wxControl)
wxBEGIN_EVENT_TABLE(wxAuiNotebook, wxBookCtrlBase)
EVT_SIZE(wxAuiNotebook::OnSize)
EVT_CHILD_FOCUS(wxAuiNotebook::OnChildFocusNotebook)
EVT_AUI_RANGE(wxAuiBaseTabCtrlId, wxAuiBaseTabCtrlId+500,