Changeset 88eaae0784ae…
Parent c88431076239…
by
Changes to 2 files · Browse files at 88eaae0784ae Showing diff from parent c88431076239 Diff from another changeset...
@@ -130,37 +130,6 @@
#ifndef POSTINST
-/*
-wxString Printf(const wxChar* format, ...)
-{
- va_list args;
- va_start(args, format);
- return wxString::FormatV(format, args);
-}
-*/
-
-std::string PrintfA(const char* format, ...)
-{
- char* buf = 0;
- std::string res;
- va_list args;
- va_start(args, format);
- int size = 1024;
- int len = -1;
- while (len == -1)
- {
- delete[] buf;
-
- buf = new char[size + 1];
- len = _vsnprintf(buf, size, format, args);
- buf[size] = '\0';
- size *= 2;
- }
-
- res = buf;
- delete[] buf;
- return res;
-}
// Convert Unicode string to multibyte string
|
@@ -79,11 +79,6 @@ // Cuts the first token off a delimited list
std::string CutFirstToken(std::string& sList, const std::string sDelimiter);
-// Printf returning a std::string
-//wxString Printf(const wxChar* format, ...);
-
-std::string PrintfA(const char* format, ...);
-
// Convert Unicode string to multibyte string
std::string WideToMultibyte(const std::wstring& wide, UINT CodePage = CP_ACP);
|
Loading...