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