2010-11-21 18:28:32 +00:00
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
|
|
// Name: dialog_cleaning_options.cpp
|
|
|
|
// Author: jean-pierre Charras
|
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
|
|
|
|
|
|
#include "wx/wx.h"
|
|
|
|
|
|
|
|
#include "dialog_cleaning_options.h"
|
|
|
|
|
|
|
|
|
|
|
|
DIALOG_CLEANING_OPTIONS::DIALOG_CLEANING_OPTIONS( wxWindow* parent ):
|
|
|
|
DIALOG_CLEANING_OPTIONS_BASE( parent )
|
|
|
|
{
|
|
|
|
m_cleanViasOpt->SetValue( cleanVias );
|
|
|
|
m_mergeSegmOpt->SetValue( mergeSegments );
|
|
|
|
m_deleteUnconnectedOpt->SetValue( deleteUnconnectedSegm );
|
|
|
|
m_reconnectToPadsOpt->SetValue( connectToPads );
|
|
|
|
|
2011-03-14 15:17:18 +00:00
|
|
|
m_sdbSizerOK->SetDefault();
|
2010-11-21 18:28:32 +00:00
|
|
|
GetSizer()->SetSizeHints(this);
|
|
|
|
Centre();
|
|
|
|
}
|
|
|
|
|
|
|
|
// Static members of DIALOG_CLEANING_OPTIONS
|
|
|
|
bool DIALOG_CLEANING_OPTIONS::cleanVias = true;
|
|
|
|
bool DIALOG_CLEANING_OPTIONS::mergeSegments = true;
|
|
|
|
bool DIALOG_CLEANING_OPTIONS::deleteUnconnectedSegm = true;
|
|
|
|
bool DIALOG_CLEANING_OPTIONS::connectToPads = false;
|
|
|
|
|