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:
@@ -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,
|
||||
|
Reference in New Issue
Block a user