added support for width and flags in wxDateTime::Format()

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5051 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
1999-12-21 16:24:57 +00:00
parent 341e7d2889
commit 77c3e48a9e
2 changed files with 61 additions and 32 deletions

View File

@@ -1105,14 +1105,15 @@ wxString& wxString::operator<<(double d)
/* static */
wxString wxString::Format(const wxChar *pszFormat, ...)
{
va_list argptr;
va_start(argptr, pszFormat);
va_list argptr;
va_start(argptr, pszFormat);
wxString s = FormatV(pszFormat, argptr);
wxString s;
s.PrintfV(pszFormat, argptr);
va_end(argptr);
va_end(argptr);
return s;
return s;
}
/* static */