Avoid warning about missing return value in wxCheckBox code
Handle unknown checkbox values as well, if only to silence the compiler.
This commit is contained in:
parent
4d27a5dde3
commit
67f97053bd
@ -119,6 +119,9 @@ wxCheckBoxState wxCheckBox::DoGet3StateValue() const
|
||||
case Qt::PartiallyChecked:
|
||||
return wxCHK_UNDETERMINED;
|
||||
}
|
||||
|
||||
wxFAIL_MSG( "unknown QCheckBox state" );
|
||||
return wxCHK_UNDETERMINED;
|
||||
}
|
||||
|
||||
QCheckBox *wxCheckBox::GetHandle() const
|
||||
|
Loading…
Reference in New Issue
Block a user