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:
@@ -985,11 +985,6 @@ static void SetAlpha(wxImage *image)
|
||||
|
||||
void ImageTestCase::CompareSavedImage()
|
||||
{
|
||||
// FIXME-VC6: Pre-declare the loop variables for compatibility with
|
||||
// pre-standard compilers such as MSVC6 that don't implement proper scope
|
||||
// for the variables declared in the for loops.
|
||||
int i;
|
||||
|
||||
wxImage expected24("horse.png");
|
||||
CPPUNIT_ASSERT( expected24.IsOk() );
|
||||
CPPUNIT_ASSERT( !expected24.HasAlpha() );
|
||||
@@ -998,7 +993,7 @@ void ImageTestCase::CompareSavedImage()
|
||||
|
||||
#if wxUSE_PALETTE
|
||||
unsigned char greys[256];
|
||||
for (i = 0; i < 256; ++i)
|
||||
for (int i = 0; i < 256; ++i)
|
||||
{
|
||||
greys[i] = i;
|
||||
}
|
||||
@@ -1163,8 +1158,7 @@ void ImageTestCase::SaveAnimatedGIF()
|
||||
|
||||
wxImageArray images;
|
||||
images.Add(image);
|
||||
int i;
|
||||
for (i = 0; i < 4-1; ++i)
|
||||
for (int i = 0; i < 4-1; ++i)
|
||||
{
|
||||
images.Add( images[i].Rotate90() );
|
||||
|
||||
@@ -1180,7 +1174,7 @@ void ImageTestCase::SaveAnimatedGIF()
|
||||
const int imageCount = handler.GetImageCount(memIn);
|
||||
CPPUNIT_ASSERT_EQUAL(4, imageCount);
|
||||
|
||||
for (i = 0; i < imageCount; ++i)
|
||||
for (int i = 0; i < imageCount; ++i)
|
||||
{
|
||||
wxFileOffset pos = memIn.TellI();
|
||||
CPPUNIT_ASSERT( handler.LoadFile(&image, memIn, true, i) );
|
||||
|
Reference in New Issue
Block a user