]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/datetime.h
no changes, just fix a typo in comment
[wxWidgets.git] / include / wx / datetime.h
index 1c337df30a5ab39b39d7b80dc67e6a67fc8f7257..5aac2b16d40046d8ee11a11bf2f9ffe7ba78ce70 100644 (file)
@@ -1109,12 +1109,19 @@ public:
     }
 
     const char *ParseFormat(const char *date,
-                            const wxString& format = wxDefaultDateTimeFormat,
+                            const wxString& format = L"%c",
                             const wxDateTime& dateDef = wxDefaultDateTime)
     {
         return ParseFormat(wxString(date), format, dateDef);
     }
 
+    const char *ParseFormat(const char *date,
+                            const char *format = wxDefaultDateTimeFormat,
+                            const wxDateTime& dateDef = wxDefaultDateTime)
+    {
+        return ParseFormat(wxString(date), wxString(format), dateDef);
+    }
+
         // parse a string containing the date/time in "free" format, this
         // function will try to make an educated guess at the string contents
     const char *ParseDateTime(const wxString& datetime,