return FALSE;
wxString value(view->GetValueText()->GetValue());
- bool boolValue = FALSE;
- if (value == wxT("True"))
- boolValue = TRUE;
- else
- boolValue = FALSE;
+ bool boolValue = (value == wxT("True"));
property->GetValue() = (bool)boolValue;
return TRUE;
}
wxChar *s = node->GetData();
if (wxStrcmp(s, currentString) == 0)
{
- wxChar *nextString = NULL;
+ wxChar *nextString;
if (node->GetNext())
nextString = node->GetNext()->GetData();
else