From 9c7669d7a4ecf5fee714dccc0718165b871beca1 Mon Sep 17 00:00:00 2001 From: Robert Roebling Date: Sun, 17 Sep 2006 11:21:43 +0000 Subject: [PATCH] [ 1559550 ] Fix wxVariant wxDateTime conversion from time string git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41266 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/common/variant.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/common/variant.cpp b/src/common/variant.cpp index dbf272e7e2..16c5ce1a90 100644 --- a/src/common/variant.cpp +++ b/src/common/variant.cpp @@ -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 -- 2.45.2