Attempt to fix mocks build issue.

This commit is contained in:
Jeff Young 2021-12-26 15:10:41 +00:00
parent ab583a32f9
commit 08cdbdac7e
2 changed files with 3 additions and 3 deletions

View File

@ -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( "" ),

View File

@ -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;
}