]> git.saurik.com Git - wxWidgets.git/commitdiff
[ 1559550 ] Fix wxVariant wxDateTime conversion from time string
authorRobert Roebling <robert@roebling.de>
Sun, 17 Sep 2006 11:21:43 +0000 (11:21 +0000)
committerRobert Roebling <robert@roebling.de>
Sun, 17 Sep 2006 11:21:43 +0000 (11:21 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41266 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/common/variant.cpp

index dbf272e7e28f0951d3c1a609ddae13e995bdd709..16c5ce1a90eb7abbe0da1b6fcc950f92ba5954ed 100644 (file)
@@ -2108,6 +2108,6 @@ bool wxVariant::Convert(wxDateTime* value) const
     // Fallback to string conversion
     wxString val;
     return Convert(&val) &&
-                (value->ParseDateTime(val) || value->ParseDate(val));
+                (value->ParseDateTime(val) || value->ParseDate(val) || value->ParseTime(val));
 }
 #endif // wxUSE_DATETIME