MacOSX: Now Arcs are shown in edit mode

This commit is contained in:
marco. 2013-02-14 20:56:45 +01:00
parent 8289899df8
commit 3217bb59a7
1 changed files with 3 additions and 2 deletions

View File

@ -355,8 +355,9 @@ void GRSetColorPen( wxDC* DC, EDA_COLOR_T Color, int width, wxPenStyle style )
width = 0; width = 0;
#ifdef __WXMAC__ #ifdef __WXMAC__
// Under OSX when wxPen is set to 0, cocoa follows the request drawing nothing // Under OSX when wxPen is set to 0, cocoa follows the request drawing nothing &
if( width == 0) // in the bitmap world the minimum is enough to light a pixel, in vectorial one not
if( width <= 1 )
width = DC->DeviceToLogicalXRel( 1 ); width = DC->DeviceToLogicalXRel( 1 );
#endif #endif