From 13925074cbe551a87531d309d7a7263bb0da2362 Mon Sep 17 00:00:00 2001
From: Jon Evans <jon@craftyjon.com>
Date: Sat, 17 Dec 2022 14:05:50 -0500
Subject: [PATCH] Remove assert on ReplaceProperty

We can't guarantee initialization order for these, so it results in false warnings
---
 common/properties/property_mgr.cpp | 1 -
 1 file changed, 1 deletion(-)

diff --git a/common/properties/property_mgr.cpp b/common/properties/property_mgr.cpp
index 9bd37b86ed..5d1f59f009 100644
--- a/common/properties/property_mgr.cpp
+++ b/common/properties/property_mgr.cpp
@@ -153,7 +153,6 @@ void PROPERTY_MANAGER::AddProperty( PROPERTY_BASE* aProperty, const wxString& aG
 void PROPERTY_MANAGER::ReplaceProperty( size_t aBase, const wxString& aName, PROPERTY_BASE* aNew,
                                         const wxString& aGroup )
 {
-    wxASSERT( aBase == aNew->BaseHash() || IsOfType( aNew->OwnerHash(), aBase ) );
     CLASS_DESC& classDesc = getClass( aNew->OwnerHash() );
     classDesc.m_replaced.insert( std::make_pair( aBase, aName ) );
     AddProperty( aNew, aGroup );