X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/52e812428f8d5b4e354482449aeb192f22ce50fd..b9efe021b554fa3967d1442cf758435c5cd5ae8f:/src/common/variant.cpp diff --git a/src/common/variant.cpp b/src/common/variant.cpp index bbfd8f4688..ae13b2a433 100644 --- a/src/common/variant.cpp +++ b/src/common/variant.cpp @@ -304,7 +304,7 @@ bool wxVariantDataStringList::Read(wxString& WXUNUSED(str)) return false; } -#endif //2.4 compat +#endif //2.4 compat /* * wxVariantDataLong @@ -1068,7 +1068,7 @@ bool wxVariantDataDateTime::Eq(wxVariantData& data) const #if wxUSE_STD_IOSTREAM -bool wxVariantDataDateTime::Write(wxSTD ostream& str) const +bool wxVariantDataDateTime::Write(wxSTD ostream& WXUNUSED(str)) const { // Not implemented return false; @@ -1156,7 +1156,7 @@ bool wxVariantDataArrayString::Eq(wxVariantData& data) const #if wxUSE_STD_IOSTREAM -bool wxVariantDataArrayString::Write(wxSTD ostream& str) const +bool wxVariantDataArrayString::Write(wxSTD ostream& WXUNUSED(str)) const { // Not implemented return false; @@ -1994,7 +1994,7 @@ void wxVariant::ClearList() } else { - if (GetType() != wxT("list")) + if (!GetType().IsSameAs(wxT("list"))) { delete m_data; m_data = NULL;