Added more flags to resource.cpp, #ifdefed out ScanfV for Windows, some

grid typo fixes


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@136 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Julian Smart
1998-06-22 22:48:22 +00:00
parent 1c089c47f3
commit 607d906178
4 changed files with 104 additions and 31 deletions

View File

@@ -862,6 +862,28 @@ int wxString::PrintfV(const char* pszFormat, va_list argptr)
return iLen;
}
int wxString::Scanf(const char *pszFormat, ...) const
{
va_list argptr;
va_start(argptr, pszFormat);
int iLen = ScanfV(pszFormat, argptr);
va_end(argptr);
return iLen;
}
int wxString::ScanfV(const char *pszFormat, va_list argptr) const
{
#ifdef __WINDOWS__
wxMessageBox("ScanfV not implemented");
return 0;
#else
return vsscanf(c_str(), pszFormat, argptr);
#endif
}
// ---------------------------------------------------------------------------
// standard C++ library string functions
// ---------------------------------------------------------------------------