git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60941
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
{
wxDateTime dt;
wxString::const_iterator end;
{
wxDateTime dt;
wxString::const_iterator end;
- if ( !dt.ParseDate(value) || end != value.end() )
+ if ( !dt.ParseDate(value, &end) || end != value.end() )
{
errorMsg << wxString::Format(_("Option '%s': '%s' cannot be converted to a date."),
name.c_str(), value.c_str())
{
errorMsg << wxString::Format(_("Option '%s': '%s' cannot be converted to a date."),
name.c_str(), value.c_str())