Get rid of shadowing warning
This commit is contained in:
parent
12b7e68703
commit
41ca2789a6
|
@ -269,8 +269,8 @@ int ZONE_FILLER_TOOL::ZoneFillDirty( const TOOL_EVENT& aEvent )
|
||||||
wxHyperlinkCtrl* button = new wxHyperlinkCtrl( infobar, wxID_ANY, _( "Open Preferences" ),
|
wxHyperlinkCtrl* button = new wxHyperlinkCtrl( infobar, wxID_ANY, _( "Open Preferences" ),
|
||||||
wxEmptyString );
|
wxEmptyString );
|
||||||
|
|
||||||
button->Bind( wxEVT_COMMAND_HYPERLINK, std::function<void( wxHyperlinkEvent& aEvent )>(
|
button->Bind( wxEVT_COMMAND_HYPERLINK, std::function<void( wxHyperlinkEvent& )>(
|
||||||
[this]( wxHyperlinkEvent& aEvent )
|
[this]( wxHyperlinkEvent& )
|
||||||
{
|
{
|
||||||
getEditFrame<PCB_EDIT_FRAME>()->ShowPreferences( _( "Editing Options" ),
|
getEditFrame<PCB_EDIT_FRAME>()->ShowPreferences( _( "Editing Options" ),
|
||||||
_( "PCB Editor" ) );
|
_( "PCB Editor" ) );
|
||||||
|
|
Loading…
Reference in New Issue