initialize wxClassInfo::sm_classTable automatically

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22626 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Václav Slavík
2003-08-06 10:44:48 +00:00
parent 14fc7eb426
commit d1d738f18c
5 changed files with 68 additions and 104 deletions

View File

@@ -548,24 +548,6 @@ void wxSetStringToArray( const wxString &s , wxArrayString &array )
// wxClassInfo
// ----------------------------------------------------------------------------
void wxClassInfo::Register(const char *WXUNUSED(name), wxClassInfo *WXUNUSED(info))
{
/*
if (!ExtendedTypeMap)
ExtendedTypeMap = new ClassMap;
(*ExtendedTypeMap)[string(Name)] = Info;
*/
}
void wxClassInfo::Unregister(const char *WXUNUSED(name))
{
/*
assert(ExtendedTypeMap);
ExtendedTypeMap->erase(Name);
*/
}
const wxPropertyAccessor *wxClassInfo::FindAccessor(const char *PropertyName)
{
const wxPropertyInfo* info = FindPropertyInfo( PropertyName ) ;