X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/49751a58f046d7c37f1a4661ed4bb604d11ae38d..fe828a03f46181cc172bf61739fe09a043f73aea:/src/common/cmdline.cpp diff --git a/src/common/cmdline.cpp b/src/common/cmdline.cpp index c5956e2310..1b62b060a3 100644 --- a/src/common/cmdline.cpp +++ b/src/common/cmdline.cpp @@ -806,8 +806,7 @@ int wxCmdLineParser::Parse(bool showUsage) case wxCMD_LINE_VAL_DATE: { wxDateTime dt; - // FIXME-UTF8: ParseDate API will need changes - const wxChar *res = dt.ParseDate(value.c_str()); + const char *res = dt.ParseDate(value); if ( !res || *res ) { errorMsg << wxString::Format(_("Option '%s': '%s' cannot be converted to a date."),