From 80b3348c3998d3fbe0dbbba7d1ba16e3c3a4959b Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Thu, 10 Jun 2021 14:23:13 +0200 Subject: [PATCH] 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. --- src/aui/auibook.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/aui/auibook.cpp b/src/aui/auibook.cpp index e7b8272023..0e4543c088 100644 --- a/src/aui/auibook.cpp +++ b/src/aui/auibook.cpp @@ -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,