Fix a compil warning.
This commit is contained in:
parent
552815d486
commit
6a8e69f9c9
|
@ -357,8 +357,11 @@ int LIB_DRAWING_TOOLS::DrawShape( const TOOL_EVENT& aEvent )
|
|||
case LIB_CIRCLE_T: item = new LIB_CIRCLE( part ); break;
|
||||
case LIB_POLYLINE_T: item = new LIB_POLYLINE( part ); break;
|
||||
case LIB_RECTANGLE_T: item = new LIB_RECTANGLE( part ); break;
|
||||
default: break; // keep compiler quiet
|
||||
}
|
||||
|
||||
wxASSERT( item );
|
||||
|
||||
item->SetWidth( LIB_EDIT_FRAME::g_LastLineWidth );
|
||||
item->SetFillMode( LIB_EDIT_FRAME::g_LastFillStyle );
|
||||
item->SetFlags( IS_NEW );
|
||||
|
|
Loading…
Reference in New Issue