]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/string.cpp
wxToolTip
[wxWidgets.git] / src / common / string.cpp
index 0566dae04029785e4556b1f82e8c13987edf265d..deb0d439782efe9f4830c2a74ceb33edec87f4a3 100644 (file)
@@ -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
 // ---------------------------------------------------------------------------