#endif
#if defined(__MWERKS__) && __MSL__ >= 0x6000
+namespace std {}
using namespace std ;
#endif
bool wxVariantDataList::Write(wxString& str) const
{
- str = wxT("");
+ str = wxEmptyString;
wxList::compatibility_iterator node = m_value.GetFirst();
while (node)
{
bool wxVariantDataChar::Read(wxString& str)
{
- m_value = str[(size_t)0];
+ m_value = str.ToAscii()[0u];
return true;
}
if (GetData()->Write(str))
return str;
}
- return wxString(wxT(""));
+ return wxEmptyString;
}
// Accessors
}
// Fallback to string conversion
wxString val;
- return Convert(&val) && (value->ParseDate(val));
+ return Convert(&val) &&
+ (value->ParseDateTime(val) || value->ParseDate(val));
}
#endif // wxUSE_DATETIME