X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/77ffb5937e89927b621128789401db8921fe580f..4004775e5a0c2da5453668201a4a984b6543d061:/include/wx/notebook.h diff --git a/include/wx/notebook.h b/include/wx/notebook.h index db1773c260..81ac3b615d 100644 --- a/include/wx/notebook.h +++ b/include/wx/notebook.h @@ -6,7 +6,7 @@ // Created: 01.02.01 // RCS-ID: $Id$ // Copyright: (c) 1996-2000 wxWidgets team -// Licence: wxWidgets licence +// Licence: wxWindows licence /////////////////////////////////////////////////////////////////////////////// #ifndef _WX_NOTEBOOK_H_BASE_ @@ -116,19 +116,19 @@ END_DECLARE_EVENT_TYPES() typedef void (wxEvtHandler::*wxNotebookEventFunction)(wxNotebookEvent&); #define EVT_NOTEBOOK_PAGE_CHANGED(winid, fn) \ - DECLARE_EVENT_TABLE_ENTRY( \ - wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED, \ + DECLARE_EVENT_TABLE_ENTRY( \ + wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED, \ winid, \ - -1, \ + wxID_ANY, \ (wxObjectEventFunction)(wxEventFunction) wxStaticCastEvent( wxNotebookEventFunction, &fn ), \ - NULL \ + NULL \ ), #define EVT_NOTEBOOK_PAGE_CHANGING(winid, fn) \ - DECLARE_EVENT_TABLE_ENTRY( \ - wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING, \ + DECLARE_EVENT_TABLE_ENTRY( \ + wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING, \ winid, \ - -1, \ + wxID_ANY, \ (wxObjectEventFunction)(wxEventFunction) wxStaticCastEvent( wxNotebookEventFunction, &fn ), \ NULL \ ),