eVC4 version of std::string doesn't have clear() neither (see #10718)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60338 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin 2009-04-25 13:04:22 +00:00
parent c4c178c10d
commit b808834950

View File

@ -94,8 +94,10 @@ extern WXDLLIMPEXP_DATA_BASE(const wxStringCharType*) wxEmptyStringImpl;
#undef wxUSE_STD_STRING
#define wxUSE_STD_STRING 1
// the versions of std::string included with gcc 2.95 and VC6 (for which
// _MSC_VER == 1200) and eVC4 (_MSC_VER == 1201) lack clear() method
#if (defined(__GNUG__) && (__GNUG__ < 3)) || \
(defined(_MSC_VER) && (_MSC_VER <= 1200))
(defined(_MSC_VER) && (_MSC_VER <= 1201))
#define wxSTRING_BASE_HASNT_CLEAR
#endif