From 71499aafed86032f0e8ed874a9007f19b921d206 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin <vadim@wxwidgets.org> Date: Wed, 31 Jan 2001 17:19:06 +0000 Subject: [PATCH] oops... fixed a typo git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9244 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- include/wx/event.h | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/include/wx/event.h b/include/wx/event.h index abf5448de6..f97e7cafa9 100644 --- a/include/wx/event.h +++ b/include/wx/event.h @@ -83,8 +83,8 @@ typedef int wxEventType; #define BEGIN_DECLARE_EVENT_TYPES() #define END_DECLARE_EVENT_TYPES() -#define DECLARE_EVENT_TYPE(name, value) extern wxEventType name; -#define DEFINE_EVENT_TYPE(name) wxEventType name = wxNewEventType(); +#define DECLARE_EVENT_TYPE(name, value) extern const wxEventType name; +#define DEFINE_EVENT_TYPE(name) const wxEventType name = wxNewEventType(); // generate a new unique event type extern WXDLLEXPORT wxEventType wxNewEventType(); @@ -1483,7 +1483,6 @@ struct WXDLLEXPORT wxEventTableEntryBase // an entry from a static event table struct WXDLLEXPORT wxEventTableEntry : public wxEventTableEntryBase { - int m_eventType; wxEventTableEntry(const int& evType, int id, int idLast, wxObjectEventFunction fn, wxObject *data) : wxEventTableEntryBase(id, idLast, fn, data),