]> git.saurik.com Git - wxWidgets.git/commitdiff
added range of types to delegate type info
authorStefan Csomor <csomor@advancedconcepts.ch>
Wed, 27 Aug 2003 17:05:59 +0000 (17:05 +0000)
committerStefan Csomor <csomor@advancedconcepts.ch>
Wed, 27 Aug 2003 17:05:59 +0000 (17:05 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23256 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/common/xti.cpp

index e15d5c88430dfb41eac6ba9c622910b8ad6034d7..dfb09212eecdd8631e54745dd0f42d2d4e2e3edb 100644 (file)
@@ -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()
 {