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:
@@ -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
|
||||
// ---------------------------------------------------------------------------
|
||||
|
Reference in New Issue
Block a user