X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/0b5eceb638d6fc9cfa5326cd00b10028fc823187..e02e8816c7a9be2082f914f6d53fcdba0d7d5416:/include/wx/motif/tabctrl.h diff --git a/include/wx/motif/tabctrl.h b/include/wx/motif/tabctrl.h index 1cf660b6b1..b17804c615 100644 --- a/include/wx/motif/tabctrl.h +++ b/include/wx/motif/tabctrl.h @@ -129,9 +129,9 @@ class WXDLLEXPORT wxTabEvent: public wxCommandEvent typedef void (wxEvtHandler::*wxTabEventFunction)(wxTabEvent&); -#define EVT_TAB_SEL_CHANGED(id, fn) wxEventTableEntry(wxEVT_COMMAND_TAB_SEL_CHANGED, \ +#define EVT_TAB_SEL_CHANGED(id, fn) DECLARE_EVENT_TABLE_ENTRY(wxEVT_COMMAND_TAB_SEL_CHANGED, \ id, -1, (wxObjectEventFunction) (wxEventFunction) (wxTabEventFunction) & fn, NULL ), -#define EVT_TAB_SEL_CHANGING(id, fn) wxEventTableEntry(wxEVT_COMMAND_TAB_SEL_CHANGING, \ +#define EVT_TAB_SEL_CHANGING(id, fn) DECLARE_EVENT_TABLE_ENTRY(wxEVT_COMMAND_TAB_SEL_CHANGING, \ id, -1, (wxObjectEventFunction) (wxEventFunction) (wxTabEventFunction) & fn, NULL ), #endif