[ 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
This commit is contained in:
@@ -2108,6 +2108,6 @@ bool wxVariant::Convert(wxDateTime* value) const
|
|||||||
// Fallback to string conversion
|
// Fallback to string conversion
|
||||||
wxString val;
|
wxString val;
|
||||||
return Convert(&val) &&
|
return Convert(&val) &&
|
||||||
(value->ParseDateTime(val) || value->ParseDate(val));
|
(value->ParseDateTime(val) || value->ParseDate(val) || value->ParseTime(val));
|
||||||
}
|
}
|
||||||
#endif // wxUSE_DATETIME
|
#endif // wxUSE_DATETIME
|
||||||
|
Reference in New Issue
Block a user