]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/variant.cpp
Applied patch [ 619386 ] uxtheme.dll support
[wxWidgets.git] / src / common / variant.cpp
index 2a0982c6feb910ef84b9e9fa9b62998de4f29e76..7b2f9dd943696b924ddb4464a021d9ddfb06e332 100644 (file)
@@ -1173,6 +1173,14 @@ wxVariant::wxVariant( void* val, const wxString& name)
    m_name = name;
 }
 
+#if wxUSE_DATETIME
+wxVariant::wxVariant(const wxDateTime& val, const wxString& name) // Date
+{
+       m_data = new wxVariantDataDateTime(val);
+       m_name = name;
+}
+#endif // wxUSE_DATETIME    
+
 #if wxUSE_ODBC
 wxVariant::wxVariant(const TIME_STRUCT* valptr, const wxString& name) // Date
 {