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:
Vadim Zeitlin 2016-02-24 23:09:13 +01:00
parent 4d27a5dde3
commit 67f97053bd

View File

@ -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