Remove MSVC6 support.

Don't support this compiler any more, this allows to get rid of tons of
MSVC6-specific workarounds, in particular we can now use Bind() and natural
template functions calls in the library code.

Also remove MSVC6 project and solution files and don't generate them when
bakefile_gen is ran any more (removing the remaining occurrences of msvc6prj
from the bakefiles results in weird bake-time errors, so it's simpler to just
leave them there).

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@76532 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2014-05-15 22:32:17 +00:00
parent 28f9670787
commit f4b80e5337
289 changed files with 394 additions and 38949 deletions

View File

@@ -331,12 +331,10 @@ void ArraysTestCase::wxStringArrayTest()
a5.assign(a1.begin(), a1.end());
CPPUNIT_ASSERT( a5 == a1 );
#ifdef wxHAS_VECTOR_TEMPLATE_ASSIGN
const wxString months[] = { "Jan", "Feb", "Mar" };
a5.assign(months, months + WXSIZEOF(months));
CPPUNIT_ASSERT_EQUAL( WXSIZEOF(months), a5.size() );
CPPUNIT_ASSERT( COMPARE_3_VALUES(a5, "Jan", "Feb", "Mar") );
#endif // wxHAS_VECTOR_TEMPLATE_ASSIGN
a5.clear();
CPPUNIT_ASSERT_EQUAL( 0, a5.size() );
@@ -624,8 +622,7 @@ namespace
{
template <typename A, typename T>
void DoTestSwap(T v1, T v2, T v3,
A * WXUNUSED(dummyUglyVC6Workaround))
void DoTestSwap(T v1, T v2, T v3)
{
A a1, a2;
a1.swap(a2);
@@ -653,10 +650,10 @@ void DoTestSwap(T v1, T v2, T v3,
void ArraysTestCase::Swap()
{
DoTestSwap("Foo", "Bar", "Baz", (wxArrayString *)NULL);
DoTestSwap<wxArrayString>("Foo", "Bar", "Baz");
DoTestSwap(1, 10, 100, (wxArrayInt *)NULL);
DoTestSwap(6, 28, 496, (wxArrayLong *)NULL);
DoTestSwap<wxArrayInt>(1, 10, 100);
DoTestSwap<wxArrayLong>(6, 28, 496);
}
void ArraysTestCase::TestSTL()