From 2d94881dbed0ea6fa22b821c2c15e1918bc143f9 Mon Sep 17 00:00:00 2001 From: jean-pierre charras Date: Wed, 6 Oct 2010 21:56:41 +0200 Subject: [PATCH] added forgotten lines from patch "EEschema selection.patch" --- include/gr_basic.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/gr_basic.h b/include/gr_basic.h index ef2608e76b..9e403bcc4f 100644 --- a/include/gr_basic.h +++ b/include/gr_basic.h @@ -51,7 +51,7 @@ class WinEDA_DrawPanel; void GRSetDrawMode( wxDC* DC, int mode ); int GRGetDrawMode( wxDC* DC ); void GRResetPenAndBrush( wxDC* DC ); -void GRSetColorPen( wxDC* DC, int Color, int width = 1, int stype = wxSOLID ); +void GRSetColorPen( wxDC* DC, int Color, int width = 1, wxPenStyle stype = wxPENSTYLE_SOLID ); void GRSetBrush( wxDC* DC, int Color, int fill = 0 ); /** function GRForceBlackPen @@ -191,7 +191,7 @@ void GRRect( EDA_Rect* ClipBox, wxDC* DC,const EDA_Rect& aRect, int Color ); void GRRect( EDA_Rect* ClipBox, wxDC* DC, int x1, int y1, int x2, int y2, int width, int Color ); void GRRectPs( EDA_Rect* aClipBox, wxDC* aDC,const EDA_Rect& aRect, - int aWidth, int aColor, int aStyle = wxSOLID ); + int aWidth, int aColor, wxPenStyle aStyle = wxPENSTYLE_SOLID ); void GRSFilledRect( EDA_Rect* ClipBox, wxDC* DC, int x1, int y1, int x2, int y2, int width, int Color, int BgColor );