don't use DECLARE_EVENT_TYPE() to avoid confusing people about its unused value parameter, declare the event type constants directly
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51405 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -16,10 +16,8 @@
|
||||
|
||||
#if wxUSE_TAB_DIALOG
|
||||
|
||||
BEGIN_DECLARE_EVENT_TYPES()
|
||||
DECLARE_EVENT_TYPE(wxEVT_COMMAND_TAB_SEL_CHANGED, 800)
|
||||
DECLARE_EVENT_TYPE(wxEVT_COMMAND_TAB_SEL_CHANGING, 801)
|
||||
END_DECLARE_EVENT_TYPES()
|
||||
extern WXDLLIMPEXP_CORE const wxEventType wxEVT_COMMAND_TAB_SEL_CHANGED;
|
||||
extern WXDLLIMPEXP_CORE const wxEventType wxEVT_COMMAND_TAB_SEL_CHANGING;
|
||||
|
||||
#if defined(__WXMSW__)
|
||||
#include "wx/msw/tabctrl.h"
|
||||
@@ -30,5 +28,5 @@ END_DECLARE_EVENT_TYPES()
|
||||
#endif
|
||||
|
||||
#endif // wxUSE_TAB_DIALOG
|
||||
#endif
|
||||
// _WX_TABCTRL_H_BASE_
|
||||
|
||||
#endif // _WX_TABCTRL_H_BASE_
|
||||
|
Reference in New Issue
Block a user