oops... fixed a typo

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9244 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2001-01-31 17:19:06 +00:00
parent 2e4df4bfaf
commit 71499aafed

View File

@@ -83,8 +83,8 @@ typedef int wxEventType;
#define BEGIN_DECLARE_EVENT_TYPES() #define BEGIN_DECLARE_EVENT_TYPES()
#define END_DECLARE_EVENT_TYPES() #define END_DECLARE_EVENT_TYPES()
#define DECLARE_EVENT_TYPE(name, value) extern wxEventType name; #define DECLARE_EVENT_TYPE(name, value) extern const wxEventType name;
#define DEFINE_EVENT_TYPE(name) wxEventType name = wxNewEventType(); #define DEFINE_EVENT_TYPE(name) const wxEventType name = wxNewEventType();
// generate a new unique event type // generate a new unique event type
extern WXDLLEXPORT wxEventType wxNewEventType(); extern WXDLLEXPORT wxEventType wxNewEventType();
@@ -1483,7 +1483,6 @@ struct WXDLLEXPORT wxEventTableEntryBase
// an entry from a static event table // an entry from a static event table
struct WXDLLEXPORT wxEventTableEntry : public wxEventTableEntryBase struct WXDLLEXPORT wxEventTableEntry : public wxEventTableEntryBase
{ {
int m_eventType;
wxEventTableEntry(const int& evType, int id, int idLast, wxEventTableEntry(const int& evType, int id, int idLast,
wxObjectEventFunction fn, wxObject *data) wxObjectEventFunction fn, wxObject *data)
: wxEventTableEntryBase(id, idLast, fn, data), : wxEventTableEntryBase(id, idLast, fn, data),