From 115eded74f98a265636f0d484f821638b3e2c146 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Tue, 24 Mar 2009 11:18:34 +0000 Subject: [PATCH] work around VC6 bug git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59808 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/common/datetimefmt.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/common/datetimefmt.cpp b/src/common/datetimefmt.cpp index 6f9f0ba68d..10111e562a 100644 --- a/src/common/datetimefmt.cpp +++ b/src/common/datetimefmt.cpp @@ -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); -- 2.45.2