Better debugging.

This commit is contained in:
Jeff Young 2025-08-23 18:44:38 +01:00
parent 8ce0bf7623
commit 8520bfefa0

View File

@ -79,8 +79,7 @@ struct TOOL_MANAGER::TOOL_STATE
~TOOL_STATE()
{
if( !stateStack.empty() )
wxFAIL;
wxASSERT_MSG( stateStack.empty(), wxT( "StateStack not empty!" ) );
}
/// The tool itself