Removed PCB_BASE_FRAME::m_printBorderAndTitleBlock (all dead code)

This commit is contained in:
Lorenzo Marcantonio 2012-08-29 20:34:34 +02:00
parent c7e3e31db6
commit b44d719446
2 changed files with 1 additions and 14 deletions

View File

@ -91,9 +91,6 @@ protected:
/// main window.
wxAuiToolBar* m_auxiliaryToolBar;
/// True prints or plots the drawing border and title block.
bool m_printBorderAndTitleBlock;
void updateGridSelectBox();
void updateZoomSelectBox();
virtual void unitsChangeRefresh();
@ -105,8 +102,6 @@ public:
~PCB_BASE_FRAME();
bool GetPrintBorderAndTitleBlock() const { return m_printBorderAndTitleBlock; }
/**
* Function GetBoardBoundingBox
* calculates the bounding box containing all board items (or board edge segments).

View File

@ -220,15 +220,7 @@ void DIALOG_PLOT::Init_Dialog()
m_subtractMaskFromSilk->SetValue( m_plotOpts.GetSubtractMaskFromSilk() );
// Option to plot page references:
if( m_parent->GetPrintBorderAndTitleBlock() )
{
m_plotSheetRef->SetValue( m_plotOpts.m_PlotFrameRef );
}
else
{
m_plotSheetRef->Enable( false );
m_plotSheetRef->SetValue( false );
}
m_plotSheetRef->SetValue( m_plotOpts.m_PlotFrameRef );
// Option to plot pads on silkscreen layers or all layers
m_plotPads_on_Silkscreen->SetValue( m_plotOpts.m_PlotPadsOnSilkLayer );