INSPECTABLE: minor bugfix

This commit is contained in:
Tomasz Wlostowski
2020-07-05 22:44:38 +02:00
parent c897273f11
commit d2c9ccd3fe
+1 -1
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>