Use more relevant macros in wxPropertyGrid

This commit is contained in:
Artur Wieczorek
2022-01-30 11:12:03 +01:00
parent 7e4cd9f1c1
commit 93365e02de
2 changed files with 2 additions and 2 deletions

View File

@@ -5618,7 +5618,7 @@ void wxPropertyGrid::HandleKeyEvent( wxKeyEvent &event, bool fromChild )
// Handles key event when editor control is not focused.
//
wxCHECK2(!IsFrozen(), return);
wxCHECK_RET(!IsFrozen(), "wxPropertyGrid shouldn't be frozen");
// Traversal between items, collapsing/expanding, etc.
wxPGProperty* selected = GetSelection();