X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/03ab016d6692ccceafb0f324a063bbf8f334f020..301cd871a221ca5c0f1c20df50c654a3e7a388fe:/src/common/string.cpp diff --git a/src/common/string.cpp b/src/common/string.cpp index 0566dae040..deb0d43978 100644 --- a/src/common/string.cpp +++ b/src/common/string.cpp @@ -1099,6 +1099,15 @@ wxString wxString::Upper() const // convert to lower case, return the copy of the string wxString wxString::Lower() const { wxString s(*this); return s.MakeLower(); } +int wxString::sprintf(const char *pszFormat, ...) + { + va_list argptr; + va_start(argptr, pszFormat); + int iLen = PrintfV(pszFormat, argptr); + va_end(argptr); + return iLen; + } + // --------------------------------------------------------------------------- // standard C++ library string functions // ---------------------------------------------------------------------------