From d2c9ccd3fe4996bcb021a695d922c03aa5fdc79b Mon Sep 17 00:00:00 2001 From: Tomasz Wlostowski Date: Fri, 5 Jun 2020 00:23:30 +0200 Subject: [PATCH] INSPECTABLE: minor bugfix --- include/inspectable.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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