X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/24671bc900cd5232e595efa87111b720d4f14237..9e1da4827a0ec18f9766d664b9af12c25e3f71fb:/tests/image/rawbmp.cpp?ds=inline diff --git a/tests/image/rawbmp.cpp b/tests/image/rawbmp.cpp index 00d50b2243..00f04e4f83 100644 --- a/tests/image/rawbmp.cpp +++ b/tests/image/rawbmp.cpp @@ -70,7 +70,9 @@ void ImageRawTestCase::RGBImage() for ( int x = 0; x < WIDTH; x++ ) { - p.Data() = (x + y) % 2 ? 0 : -1; + p.Red() = + p.Green() = + p.Blue() = (x + y) % 2 ? 0 : -1; ++p; }