diff --git a/tests/graphics/bitmap.cpp b/tests/graphics/bitmap.cpp index ac9b9ec071..1ad14d697e 100644 --- a/tests/graphics/bitmap.cpp +++ b/tests/graphics/bitmap.cpp @@ -307,6 +307,7 @@ TEST_CASE("BitmapTestCase::FromImage", "[bitmap][image][convertfrom]") } } +#if !defined(__WXGTK20__) || defined(__WXGTK3__) SECTION("RGBA image with mask") { wxImage img(2, 2); @@ -368,6 +369,7 @@ TEST_CASE("BitmapTestCase::FromImage", "[bitmap][image][convertfrom]") rowStartMask.OffsetY(dataMask, 1); } } +#endif // !defined(__WXGTK20__) || defined(__WXGTK3__) } TEST_CASE("BitmapTestCase::OverlappingBlit", "[bitmap][blit]")