bool wxVariantDataList::Write(wxString& str) const
{
- str = wxT("");
+ str = wxEmptyString;
wxList::compatibility_iterator node = m_value.GetFirst();
while (node)
{
if (GetData()->Write(str))
return str;
}
- return wxString(wxT(""));
+ return wxEmptyString;
}
// Accessors
}
// Fallback to string conversion
wxString val;
- return Convert(&val) && (value->ParseDateTime(val) || value->ParseDate());
+ return Convert(&val) &&
+ (value->ParseDateTime(val) || value->ParseDate(val));
}
#endif // wxUSE_DATETIME