]> git.saurik.com Git - wxWidgets.git/blobdiff - tests/image/rawbmp.cpp
correct wrong #endif position which prevented ListCtrlTestCase::ItemRect() from being...
[wxWidgets.git] / tests / image / rawbmp.cpp
index 00d50b2243662ee8c8d918cbae0699f3ebbdeb72..00f04e4f8349849f655a4a5a2fe75cf71950d5cd 100644 (file)
@@ -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;
         }