From: Vadim Zeitlin Date: Wed, 25 Mar 2009 10:27:36 +0000 (+0000) Subject: compilation fix after wxDateTime::Parse() changes (but do we really intent to return... X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/09777a5bb58bfa29fb8c0dfdfc0057cbdf9517d9 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 --- 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 ) {