X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/82a5f02c861e8d57ba8255a9553b941118ad4520..6d56eb5c56fb1f5707727e86a615e270d4dddbfe:/include/wx/spinctrl.h diff --git a/include/wx/spinctrl.h b/include/wx/spinctrl.h index 17dc5ff9a3..94b62fb846 100644 --- a/include/wx/spinctrl.h +++ b/include/wx/spinctrl.h @@ -62,7 +62,7 @@ protected: // Macro must be defined here, not event.h, since it must reference wxSpinEventFunction #define EVT_SPINCTRL(id, fn) \ - wxEventTableEntry( wxEVT_COMMAND_SPINCTRL_UPDATED, id, -1, (wxObjectEventFunction) (wxEventFunction) (wxSpinEventFunction) & fn, (wxObject *) NULL ), + DECLARE_EVENT_TABLE_ENTRY( wxEVT_COMMAND_SPINCTRL_UPDATED, id, -1, (wxObjectEventFunction) (wxEventFunction) (wxSpinEventFunction) & fn, (wxObject *) NULL ), #endif // _WX_SPINCTRL_H_