work around VC6 bug

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59808 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin 2009-03-24 11:18:34 +00:00
parent 3c8aa154bc
commit 115eded74f

View 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);