diff --git a/include/wx/event.h b/include/wx/event.h index b4fe042c4d..af2282d81c 100644 --- a/include/wx/event.h +++ b/include/wx/event.h @@ -1455,7 +1455,7 @@ typedef void (wxObject::*wxObjectEventFunction)(wxEvent&); struct WXDLLEXPORT wxEventTableEntry { // For some reason, this can't be wxEventType, or VC++ complains. - const int &m_eventType; // main event type + int m_eventType; // main event type int m_id; // control/menu/toolbar id int m_lastId; // used for ranges of ids wxObjectEventFunction m_fn; // function to call: not wxEventFunction,