Commit b44d7194 authored by Lorenzo Marcantonio's avatar Lorenzo Marcantonio

Removed PCB_BASE_FRAME::m_printBorderAndTitleBlock (all dead code)

parent c7e3e31d
...@@ -91,9 +91,6 @@ protected: ...@@ -91,9 +91,6 @@ protected:
/// main window. /// main window.
wxAuiToolBar* m_auxiliaryToolBar; wxAuiToolBar* m_auxiliaryToolBar;
/// True prints or plots the drawing border and title block.
bool m_printBorderAndTitleBlock;
void updateGridSelectBox(); void updateGridSelectBox();
void updateZoomSelectBox(); void updateZoomSelectBox();
virtual void unitsChangeRefresh(); virtual void unitsChangeRefresh();
...@@ -105,8 +102,6 @@ public: ...@@ -105,8 +102,6 @@ public:
~PCB_BASE_FRAME(); ~PCB_BASE_FRAME();
bool GetPrintBorderAndTitleBlock() const { return m_printBorderAndTitleBlock; }
/** /**
* Function GetBoardBoundingBox * Function GetBoardBoundingBox
* calculates the bounding box containing all board items (or board edge segments). * calculates the bounding box containing all board items (or board edge segments).
......
...@@ -220,15 +220,7 @@ void DIALOG_PLOT::Init_Dialog() ...@@ -220,15 +220,7 @@ void DIALOG_PLOT::Init_Dialog()
m_subtractMaskFromSilk->SetValue( m_plotOpts.GetSubtractMaskFromSilk() ); m_subtractMaskFromSilk->SetValue( m_plotOpts.GetSubtractMaskFromSilk() );
// Option to plot page references: // Option to plot page references:
if( m_parent->GetPrintBorderAndTitleBlock() )
{
m_plotSheetRef->SetValue( m_plotOpts.m_PlotFrameRef ); m_plotSheetRef->SetValue( m_plotOpts.m_PlotFrameRef );
}
else
{
m_plotSheetRef->Enable( false );
m_plotSheetRef->SetValue( false );
}
// Option to plot pads on silkscreen layers or all layers // Option to plot pads on silkscreen layers or all layers
m_plotPads_on_Silkscreen->SetValue( m_plotOpts.m_PlotPadsOnSilkLayer ); m_plotPads_on_Silkscreen->SetValue( m_plotOpts.m_PlotPadsOnSilkLayer );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment