diff --git a/include/inspectable.h b/include/inspectable.h index ae03773557..a3a307cee5 100644 --- a/include/inspectable.h +++ b/include/inspectable.h @@ -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( object ) : wxAny(); + return object ? aProperty->get( object ) : T(); } template