]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/datetime.cpp
Applied patch #1875242 - fixing more bugs related to using OS/2's DevQueryCaps
[wxWidgets.git] / src / common / datetime.cpp
index 948b3e6f26e3ed18f286096672a41a799f55b10d..98e755a60150d1753763d043f04dca860ca945db 100644 (file)
@@ -3574,10 +3574,11 @@ wxDateTime::ParseFormat(const wxString& date,
                     // common cases
                     wxDateTime dt;
 
-                    const wxChar *result = dt.ParseFormat(input, _T("%T"));
+                    const wxStringCharType *
+                        result = dt.ParseFormat(input, wxS("%T"));
                     if ( !result )
                     {
-                        result = dt.ParseFormat(input, _T("%r"));
+                        result = dt.ParseFormat(input, wxS("%r"));
                     }
 
                     if ( !result )
@@ -3586,7 +3587,9 @@ wxDateTime::ParseFormat(const wxString& date,
                         return NULL;
                     }
 
-                    haveHour = haveMin = haveSec = true;
+                    haveHour =
+                    haveMin =
+                    haveSec = true;
 
                     Tm tm = dt.GetTm();
                     hour = tm.hour;