]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/cmdline.cpp
implement new wxBG_STYLE_XXX semantics for wxMSW too
[wxWidgets.git] / src / common / cmdline.cpp
index c0a7e4131c1fe19717173c52fe38302eb878f167..dec8be85fc61bbc74841524aa6b4e1b633f6db9f 100644 (file)
@@ -870,7 +870,7 @@ int wxCmdLineParser::Parse(bool showUsage)
                             {
                                 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())