#pragma hdrstop
#endif
+#ifdef wxHAS_RAW_BITMAP
+
#ifndef WX_PRECOMP
#endif // WX_PRECOMP
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;
}
ASSERT_COL_EQUAL( 0, image.GetGreen(0, 1) );
ASSERT_COL_EQUAL( 0, image.GetGreen(1, 0) );
}
+
+#endif // wxHAS_RAW_BITMAP