-removed dynamic_cast on CheckBox, fixes #1830
This commit is contained in:
parent
bc3c14a76b
commit
9de37817bc
1 changed files with 1 additions and 1 deletions
|
|
@ -59,7 +59,7 @@ bool CheckBox::is_radio()
|
|||
Node* parent = this;
|
||||
do {
|
||||
parent = parent->get_parent();
|
||||
if (dynamic_cast< ButtonGroup* >(parent))
|
||||
if (parent->cast_to<ButtonGroup>())
|
||||
break;
|
||||
} while (parent);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue