diff --git a/tests/graphics/bitmap.cpp b/tests/graphics/bitmap.cpp index 365fa3f7b4..d1b7ba734f 100644 --- a/tests/graphics/bitmap.cpp +++ b/tests/graphics/bitmap.cpp @@ -110,8 +110,8 @@ void BitmapTestCase::OverlappingBlit() // Now, lines 0 and 1 should be red, lines 2++ should still be white. - wxNativePixelData npd( m_bmp ); - wxNativePixelData::Iterator it( npd ); + wxAlphaPixelData npd( m_bmp ); + wxAlphaPixelData::Iterator it( npd ); ASSERT_EQUAL_RGB( it, 255, 0, 0 ); it.OffsetY( npd, 1 );