-template<> const wxTypeInfo* wxGetTypeInfo( wxString ** )
-{
- assert(0) ;
- static wxBuiltInTypeInfo s_typeInfo( wxT_VOID ) ;
- return &s_typeInfo ;
+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_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()
+{
+ if ( ms_typeTable == NULL )
+ ms_typeTable = new wxTypeInfoMap() ;
+
+ if( !m_name.IsEmpty() )
+ (*ms_typeTable)[m_name] = this ;