for ( size_t n = 0; n < count; n++ )
{
if ( n )
- str += _T(';');
+ str += wxT(';');
str += m_value[n];
}
bool wxVariantDataArrayString::Read(wxString& str)
{
- wxStringTokenizer tk(str, _T(";"));
+ wxStringTokenizer tk(str, wxT(";"));
while ( tk.HasMoreTokens() )
{
m_value.Add(tk.GetNextToken());
bool wxVariant::operator==(const wxArrayString& WXUNUSED(value)) const
{
- wxFAIL_MSG( _T("TODO") );
+ wxFAIL_MSG( wxT("TODO") );
return false;
}
bool wxVariantDataLongLong::Eq(wxVariantData& data) const
{
- wxASSERT_MSG( (data.GetType() == wxS("longlong")),
+ wxASSERT_MSG( (data.GetType() == wxS("longlong")),
"wxVariantDataLongLong::Eq: argument mismatch" );
wxVariantDataLongLong& otherData = (wxVariantDataLongLong&) data;
bool wxVariantDataLongLong::Write(wxString& str) const
{
- str.Printf(wxS("%lld"), m_value);
+#ifdef wxLongLong_t
+ str.Printf(wxS("%lld"), m_value.GetValue());
return true;
+#else
+ return false;
+#endif
}
#if wxUSE_STD_IOSTREAM
bool wxVariantDataULongLong::Eq(wxVariantData& data) const
{
- wxASSERT_MSG( (data.GetType() == wxS("ulonglong")),
+ wxASSERT_MSG( (data.GetType() == wxS("ulonglong")),
"wxVariantDataULongLong::Eq: argument mismatch" );
wxVariantDataULongLong& otherData = (wxVariantDataULongLong&) data;
bool wxVariantDataULongLong::Write(wxString& str) const
{
- str.Printf(wxS("%llu"), m_value);
+#ifdef wxLongLong_t
+ str.Printf(wxS("%llu"), m_value.GetValue());
return true;
+#else
+ return false;
+#endif
}
#if wxUSE_STD_IOSTREAM