Attempt to fix mocks build issue.
This commit is contained in:
parent
ab583a32f9
commit
08cdbdac7e
|
@ -291,7 +291,7 @@ PNS_LOG_VIEWER_FRAME::PNS_LOG_VIEWER_FRAME( wxFrame* frame ) : PNS_LOG_VIEWER_FR
|
|||
auto settings = static_cast<KIGFX::PCB_RENDER_SETTINGS*>(
|
||||
m_galPanel->GetView()->GetPainter()->GetSettings() );
|
||||
|
||||
settings->SetZoneDisplayMode( ZONE_DISPLAY_MODE::SHOW_FILLED );
|
||||
settings.m_ZoneDisplayMode = ZONE_DISPLAY_MODE::SHOW_FILLED;
|
||||
|
||||
m_listPopupMenu = new wxMenu( wxT( "" ) );
|
||||
m_listPopupMenu->Append( ID_LIST_COPY, wxT( "Copy selected geometry" ), wxT( "" ),
|
||||
|
|
|
@ -619,9 +619,9 @@ bool PCB_TOOL_BASE::Is45Limited() const
|
|||
}
|
||||
|
||||
|
||||
const PCB_DISPLAY_OPTIONS& PCB_TOOL_BASE::displayOptions() const
|
||||
PCBNEW_SETTINGS::DISPLAY_OPTIONS& PCB_TOOL_BASE::displayOptions() const
|
||||
{
|
||||
static PCB_DISPLAY_OPTIONS disp;
|
||||
static PCBNEW_SETTINGS::DISPLAY_OPTIONS disp;
|
||||
|
||||
return disp;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue