From 09777a5bb58bfa29fb8c0dfdfc0057cbdf9517d9 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Wed, 25 Mar 2009 10:27:36 +0000 Subject: [PATCH] compilation fix after wxDateTime::Parse() changes (but do we really intent to return true here if the string was only partially parsed?) git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59837 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/propgrid/advprops.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/propgrid/advprops.cpp b/src/propgrid/advprops.cpp index 0a24754ba5..52609a0bf3 100644 --- a/src/propgrid/advprops.cpp +++ b/src/propgrid/advprops.cpp @@ -2094,7 +2094,9 @@ bool wxDateProperty::StringToValue( wxVariant& variant, const wxString& text, { wxDateTime dt; - const char* c = dt.ParseFormat(text, wxString(wxDefaultDateTimeFormat), wxDefaultDateTime, NULL); + // FIXME: do we really want to return true from here if only part of the + // string was parsed? + const char* c = dt.ParseFormat(text); if ( c ) {