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:
@@ -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 ) ;
|
||||
|
Reference in New Issue
Block a user