-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; }
+ return (wxTypeInfo *)iter->second;
+}
+
+wxClassTypeInfo::wxClassTypeInfo( wxTypeKind kind, wxClassInfo* classInfo,
+ wxVariant2StringFnc to,
+ wxString2VariantFnc from,
+ const wxString &name) :
+ wxTypeInfo( kind, to, from, name)
+{
+ wxASSERT_MSG( kind == wxT_OBJECT_PTR || kind == wxT_OBJECT,
+ wxT("Illegal Kind for Enum Type")); m_classInfo = classInfo;
+}
+
+wxEventSourceTypeInfo::wxEventSourceTypeInfo( int eventType, wxClassInfo* eventClass,
+ wxVariant2StringFnc to,
+ wxString2VariantFnc from ) :
+ wxTypeInfo ( wxT_DELEGATE, to, from, wxEmptyString )
+{
+ m_eventClass = eventClass;
+ m_eventType = eventType;
+ m_lastEventType = -1;
+}
+
+wxEventSourceTypeInfo::wxEventSourceTypeInfo( int eventType, int lastEventType,
+ wxClassInfo* eventClass,
+ wxVariant2StringFnc to,
+ wxString2VariantFnc from ) :
+ wxTypeInfo ( wxT_DELEGATE, to, from, wxEmptyString )
+{
+ m_eventClass = eventClass;
+ m_eventType = eventType;
+ m_lastEventType = lastEventType;
+}