return true;
}
-// wxVariant
+// wxVariant
wxVariant::wxVariant(long val, const wxString& name)
{
bool wxVariantDataChar::Read(wxSTD istream& WXUNUSED(str))
{
wxFAIL_MSG(wxT("Unimplemented"));
-
+
return false;
}
#endif
{
wxTextOutputStream s(str);
- s.Write8(m_value);
+ s << m_value;
+
return true;
}
IMPLEMENT_DYNAMIC_CLASS(wxVariantDataString, wxVariantData)
// wxVariant ****
-
+
wxVariant::wxVariant(const wxString& val, const wxString& name)
{
m_data = new wxVariantDataString(val);
}
}
-// wxVariant
+// wxVariant
wxStringList& wxVariant::GetStringList() const
{