fix minor compil warnings.
This commit is contained in:
parent
bc51c89c90
commit
a7b8a1446b
|
@ -546,7 +546,7 @@ int PCB_POINT_EDITOR::OnSelectionChange( const TOOL_EVENT& aEvent )
|
|||
{
|
||||
if( grid.GetUseGrid() )
|
||||
{
|
||||
VECTOR2I gridPt = grid.BestSnapAnchor( pos, {}, { item } );
|
||||
// VECTOR2I gridPt = grid.BestSnapAnchor( pos, {}, { item } );
|
||||
|
||||
VECTOR2I last = m_editedPoint->GetPosition();
|
||||
VECTOR2I delta = pos - last;
|
||||
|
|
|
@ -218,8 +218,8 @@ int ZONE_FILLER_TOOL::ZoneFillDirty( const TOOL_EVENT& aEvent )
|
|||
wxEmptyString );
|
||||
|
||||
button->Bind( wxEVT_COMMAND_HYPERLINK,
|
||||
std::function<void( wxHyperlinkEvent& aEvent )>(
|
||||
[frame]( wxHyperlinkEvent& aEvent )
|
||||
std::function<void( wxHyperlinkEvent& aLocEvent )>(
|
||||
[frame]( wxHyperlinkEvent& aLocEvent )
|
||||
{
|
||||
frame->ShowBoardSetupDialog( _( "Rules" ) );
|
||||
} ) );
|
||||
|
|
Loading…
Reference in New Issue