minor bug 1974672 solved

This commit is contained in:
charras 2008-07-20 12:59:52 +00:00
parent 936b1ac904
commit 1f34ed0583
1 changed files with 2 additions and 2 deletions

View File

@ -266,7 +266,7 @@ void GRSetColorPen( wxDC* DC, int Color, int width, int style )
if( width < PenMinWidth ) if( width < PenMinWidth )
width = PenMinWidth; width = PenMinWidth;
if( ForceBlackPen && Color != WHITE ) if( ForceBlackPen )
{ {
Color = BLACK; Color = BLACK;
} }
@ -300,7 +300,7 @@ void GRSetBrush( wxDC* DC, int Color, int fill )
/***********************************************/ /***********************************************/
{ {
Color &= MASKCOLOR; // Pour 32 couleurs Max Color &= MASKCOLOR; // Pour 32 couleurs Max
if( ForceBlackPen && Color != WHITE ) if( ForceBlackPen )
Color = BLACK; Color = BLACK;
wxBrush DrawBrush; wxBrush DrawBrush;
DrawBrush.SetColour( DrawBrush.SetColour(