From 8edb7cd500e8e95e9b4f3ed853caf1005696e053 Mon Sep 17 00:00:00 2001 From: Stefan Csomor Date: Wed, 27 Aug 2003 17:05:59 +0000 Subject: [PATCH] added range of types to delegate type info git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23256 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/common/xti.cpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/common/xti.cpp b/src/common/xti.cpp index e15d5c8843..dfb09212ee 100644 --- a/src/common/xti.cpp +++ b/src/common/xti.cpp @@ -291,7 +291,11 @@ wxTypeInfo( kind , to , from , name) wxDelegateTypeInfo::wxDelegateTypeInfo( int eventType , wxClassInfo* eventClass , converterToString_t to , converterFromString_t from ) : wxTypeInfo ( wxT_DELEGATE , to , from , wxEmptyString ) -{ m_eventClass = eventClass ; m_eventType = eventType ;} +{ m_eventClass = eventClass ; m_eventType = eventType ; m_lastEventType = -1 ;} + +wxDelegateTypeInfo::wxDelegateTypeInfo( int eventType , int lastEventType , wxClassInfo* eventClass , converterToString_t to , converterFromString_t from ) : +wxTypeInfo ( wxT_DELEGATE , to , from , wxEmptyString ) +{ m_eventClass = eventClass ; m_eventType = eventType ; m_lastEventType = lastEventType; } void wxTypeInfo::Register() { -- 2.45.2