Commit 1f34ed05 authored by charras's avatar charras

minor bug 1974672 solved

parent 936b1ac9
...@@ -266,7 +266,7 @@ void GRSetColorPen( wxDC* DC, int Color, int width, int style ) ...@@ -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 ) ...@@ -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(
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment