]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/variant.cpp
fixed wxStrrchr(s, '\0') bug, added const and non const versions of wxStrchr, wxStrrc...
[wxWidgets.git] / src / common / variant.cpp
index abbd2de6e5b0dc7876cd4fdb5592dd9c442999e3..defe41807fdf1002c87921e4358e9369369da799 100644 (file)
@@ -2054,6 +2054,12 @@ wxStringList& wxVariant::GetStringList() const
     return (wxStringList&) ((wxVariantDataStringList*) m_data)->GetValue();
 }
 
+// Make empty list
+void wxVariant::NullList()
+{
+    SetData(new wxVariantDataList());
+};
+
 // Append to list
 void wxVariant::Append(const wxVariant& value)
 {