KiCad PCB EDA Suite
dialog_cleaning_options.cpp
Go to the documentation of this file.
1 
5 /*
6  * This program source code file is part of KiCad, a free EDA CAD application.
7  *
8  * Copyright (C) 1992-2012 KiCad Developers, see change_log.txt for contributors.
9  *
10  * This program is free software; you can redistribute it and/or
11  * modify it under the terms of the GNU General Public License
12  * as published by the Free Software Foundation; either version 2
13  * of the License, or (at your option) any later version.
14  *
15  * This program is distributed in the hope that it will be useful,
16  * but WITHOUT ANY WARRANTY; without even the implied warranty of
17  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18  * GNU General Public License for more details.
19  *
20  * You should have received a copy of the GNU General Public License
21  * along with this program; if not, you may find one here:
22  * http://www.gnu.org/licenses/old-licenses/gpl-2.0.html
23  * or you may search the http://www.gnu.org website for the version 2 license,
24  * or you may write to the Free Software Foundation, Inc.,
25  * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
26  */
27 #include <wx/wx.h>
28 
30 
31 
34 {
35  m_cleanViasOpt->SetValue( m_cleanVias );
36  m_mergeSegmOpt->SetValue( m_mergeSegments );
39 
40  m_sdbSizerOK->SetDefault();
41  GetSizer()->SetSizeHints(this);
42  Centre();
43 }
44 
45 // Static members of DIALOG_CLEANING_OPTIONS
50 
DIALOG_CLEANING_OPTIONS(wxWindow *parent)
Class DIALOG_CLEANING_OPTIONS_BASE.