Replace a assert by a wxASSERT to make debug more easy.

This commit is contained in:
jean-pierre charras 2017-10-16 20:26:37 +02:00
parent df15e63d41
commit 1e35d45948
1 changed files with 2 additions and 1 deletions

View File

@ -197,7 +197,8 @@ INDEX::ITEM_SHAPE_INDEX* INDEX::getSubindex( const ITEM* aItem )
if( idx_n < 0 || idx_n >= MaxSubIndices )
{
assert( false );
wxASSERT( idx_n >= 0 );
wxASSERT( idx_n < MaxSubIndices );
return nullptr;
}