]> git.saurik.com Git - wxWidgets.git/commitdiff
work around VC6 bug
authorVadim Zeitlin <vadim@wxwidgets.org>
Tue, 24 Mar 2009 11:18:34 +0000 (11:18 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Tue, 24 Mar 2009 11:18:34 +0000 (11:18 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59808 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/common/datetimefmt.cpp

index 6f9f0ba68d0d26ff3caa08a21603ea94eedc984b..10111e562a5871045f2cd3dc53ccfff79de2fa6a 100644 (file)
@@ -224,7 +224,10 @@ wxDateTime
 ParseFormatAt(wxString::const_iterator& p,
               const wxString::const_iterator& end,
               const wxString& fmt,
-              const wxString& fmtAlt = wxString(),
+              // FIXME-VC6: using wxString() instead of wxEmptyString in the
+              //            line below results in error C2062: type 'class
+              //            wxString (__cdecl *)(void)' unexpected
+              const wxString& fmtAlt = wxEmptyString,
               const wxString& fmtAlt2 = wxString())
 {
     const wxString str(p, end);