]> git.saurik.com Git - wxWidgets.git/commitdiff
eVC4 version of std::string doesn't have clear() neither (see #10718)
authorVadim Zeitlin <vadim@wxwidgets.org>
Sat, 25 Apr 2009 13:04:22 +0000 (13:04 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Sat, 25 Apr 2009 13:04:22 +0000 (13:04 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60338 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

include/wx/stringimpl.h

index 00d24e22424cba32fd01f294cd131b9bf1703fb8..dce1f1ed40a405dd96ab672571094d9ae1d4abb6 100644 (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