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
This commit is contained in:
Vadim Zeitlin 2009-03-25 10:27:36 +00:00
parent 6d109846c2
commit 09777a5bb5

View File

@ -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 )
{