git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35136
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
{
wxString val(((wxVariantDataString*)GetData())->GetValue());
val.MakeLower();
- if (val == wxT("true") || val == wxT("yes"))
+ if (val == wxT("true") || val == wxT("yes") || val == wxT('1') )
*value = true;
- else if (val == wxT("false") || val == wxT("no"))
+ else if (val == wxT("false") || val == wxT("no") || val == wxT('0') )
*value = false;
else
return false;