// Purpose: Test for using raw bitmap access classes with wxImage
// Author: Vadim Zeitlin
// Created: 2008-05-30
-// RCS-ID: $Id$
// Copyright: (c) 2008 Vadim Zeitlin <vadim@wxwidgets.org>
// Licence: wxWindows licence
///////////////////////////////////////////////////////////////////////////////
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;
}