/**********************************************/
/* Routine pour selectionner le mode de trace */
/**********************************************/
void GRSetDrawMode( wxDC* DC, int draw_mode )
{
if( draw_mode & GR_OR )
DC->SetLogicalFunction( wxOR );
else if( draw_mode & GR_XOR )
DC->SetLogicalFunction( wxXOR );
else if( draw_mode & GR_NXOR )
DC->SetLogicalFunction( wxEQUIV );
else
DC->SetLogicalFunction( wxCOPY );
}
It looks like GR_AND would fall through to wxCOPY in common/gr_basic.cpp
So unless I am mis-interpreting the code, then
1) You are actually using wcCOPY mode.
2) We should get rid of GR_AND in our headers, and use GR_COPY in its place?
Dick