correct wrong last commit

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51063 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin 2008-01-07 01:36:24 +00:00
parent 3371873669
commit fcd47970b8

View File

@ -1108,11 +1108,11 @@ public:
return date + (end - datestr.begin());
}
const wchar_t *ParseFormat(const wchar_t *date,
const wchar_t *format = wxDefaultDateTimeFormat,
const wxDateTime& dateDef = wxDefaultDateTime)
const char *ParseFormat(const char *date,
const wxString& format = L"%c",
const wxDateTime& dateDef = wxDefaultDateTime)
{
return ParseFormat(date, wxString(format), dateDef);
return ParseFormat(wxString(date), format, dateDef);
}
const char *ParseFormat(const char *date,