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:
parent
6d109846c2
commit
09777a5bb5
@ -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 )
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user