X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/24671bc900cd5232e595efa87111b720d4f14237..575be976000353d8800b1dfc0c9714d262ae5c97:/tests/image/rawbmp.cpp 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; }