Guard function with wxCHECK macros rather than wxASSERT

This commit is contained in:
Artur Wieczorek 2022-12-03 17:11:22 +02:00
parent 1d85e22543
commit b3feac2d0f

View file

@ -2462,7 +2462,7 @@ wxPGProperty* wxPGProperty::GetItemAtY( unsigned int y,
unsigned int lh,
unsigned int* nextItemY ) const
{
wxASSERT( nextItemY );
wxCHECK( nextItemY, nullptr );
// Linear search at the moment
//