X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/0b5eceb638d6fc9cfa5326cd00b10028fc823187..159b66c02a8f1c724d1af3c768ad5d90f4c8a0e2:/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