INSPECTABLE: minor bugfix

This commit is contained in:
Tomasz Wlostowski 2020-06-05 00:23:30 +02:00
parent c897273f11
commit d2c9ccd3fe
1 changed files with 1 additions and 1 deletions

View File

@ -95,7 +95,7 @@ public:
PROPERTY_MANAGER& propMgr = PROPERTY_MANAGER::Instance();
TYPE_ID thisType = TYPE_HASH( *this );
void* object = propMgr.TypeCast( this, thisType, aProperty->OwnerHash() );
return object ? aProperty->get<T>( object ) : wxAny();
return object ? aProperty->get<T>( object ) : T();
}
template<typename T>