KiCad PCB EDA Suite
dialog_drc_base.cpp
Go to the documentation of this file.
1 // C++ code generated with wxFormBuilder (version Oct 26 2018)
3 // http://www.wxformbuilder.org/
4 //
5 // PLEASE DO *NOT* EDIT THIS FILE!
7 
8 #include "dialog_drclistbox.h"
9 
10 #include "dialog_drc_base.h"
11 
13 
14 DIALOG_DRC_CONTROL_BASE::DIALOG_DRC_CONTROL_BASE( wxWindow* parent, wxWindowID id, const wxString& title, const wxPoint& pos, const wxSize& size, long style ) : DIALOG_SHIM( parent, id, title, pos, size, style )
15 {
16  this->SetSizeHints( wxDefaultSize, wxDefaultSize );
17 
18  wxBoxSizer* m_MainSizer;
19  m_MainSizer = new wxBoxSizer( wxVERTICAL );
20 
21  wxGridBagSizer* gbSizer1;
22  gbSizer1 = new wxGridBagSizer( 0, 10 );
23  gbSizer1->SetFlexibleDirection( wxBOTH );
24  gbSizer1->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
25 
26  wxBoxSizer* bSizerOptions;
27  bSizerOptions = new wxBoxSizer( wxVERTICAL );
28 
29  wxFlexGridSizer* fgMinValuesSizer;
30  fgMinValuesSizer = new wxFlexGridSizer( 4, 3, 0, 0 );
31  fgMinValuesSizer->AddGrowableCol( 1 );
32  fgMinValuesSizer->SetFlexibleDirection( wxHORIZONTAL );
33  fgMinValuesSizer->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
34 
35  m_TrackMinWidthTitle = new wxStaticText( this, wxID_ANY, _("Minimum track width:"), wxDefaultPosition, wxDefaultSize, 0 );
36  m_TrackMinWidthTitle->Wrap( -1 );
37  m_TrackMinWidthTitle->SetToolTip( _("Enter the minimum acceptable value for a track width") );
38 
39  fgMinValuesSizer->Add( m_TrackMinWidthTitle, 0, wxALIGN_CENTER_VERTICAL|wxALIGN_RIGHT|wxLEFT, 5 );
40 
41  m_SetTrackMinWidthCtrl = new wxTextCtrl( this, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
42  fgMinValuesSizer->Add( m_SetTrackMinWidthCtrl, 0, wxEXPAND|wxTOP|wxRIGHT|wxLEFT, 3 );
43 
44  m_TrackMinWidthUnit = new wxStaticText( this, wxID_ANY, _("unit"), wxDefaultPosition, wxDefaultSize, 0 );
45  m_TrackMinWidthUnit->Wrap( -1 );
46  m_TrackMinWidthUnit->SetToolTip( _("Enter the minimum acceptable value for a track width") );
47 
48  fgMinValuesSizer->Add( m_TrackMinWidthUnit, 0, wxALIGN_CENTER_VERTICAL|wxRIGHT, 5 );
49 
50  m_ViaMinTitle = new wxStaticText( this, wxID_ANY, _("Minimum via size:"), wxDefaultPosition, wxDefaultSize, 0 );
51  m_ViaMinTitle->Wrap( -1 );
52  m_ViaMinTitle->SetHelpText( _("Enter the minimum acceptable diameter for a standard via") );
53 
54  fgMinValuesSizer->Add( m_ViaMinTitle, 0, wxALIGN_CENTER_VERTICAL|wxLEFT, 5 );
55 
56  m_SetViaMinSizeCtrl = new wxTextCtrl( this, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
57  fgMinValuesSizer->Add( m_SetViaMinSizeCtrl, 0, wxEXPAND|wxTOP|wxRIGHT|wxLEFT|wxALIGN_CENTER_VERTICAL, 3 );
58 
59  m_ViaMinUnit = new wxStaticText( this, wxID_ANY, _("unit"), wxDefaultPosition, wxDefaultSize, 0 );
60  m_ViaMinUnit->Wrap( -1 );
61  m_ViaMinUnit->SetHelpText( _("Enter the minimum acceptable diameter for a standard via") );
62 
63  fgMinValuesSizer->Add( m_ViaMinUnit, 0, wxALIGN_CENTER_VERTICAL|wxRIGHT, 5 );
64 
65  m_MicroViaMinTitle = new wxStaticText( this, wxID_ANY, _("Minimum uVia size:"), wxDefaultPosition, wxDefaultSize, 0 );
66  m_MicroViaMinTitle->Wrap( -1 );
67  m_MicroViaMinTitle->SetToolTip( _("Enter the minimum acceptable diameter for a micro via") );
68 
69  fgMinValuesSizer->Add( m_MicroViaMinTitle, 0, wxALIGN_CENTER_VERTICAL|wxLEFT, 5 );
70 
71  m_SetMicroViakMinSizeCtrl = new wxTextCtrl( this, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
72  fgMinValuesSizer->Add( m_SetMicroViakMinSizeCtrl, 0, wxEXPAND|wxTOP|wxRIGHT|wxLEFT, 3 );
73 
74  m_MicroViaMinUnit = new wxStaticText( this, wxID_ANY, _("unit"), wxDefaultPosition, wxDefaultSize, 0 );
75  m_MicroViaMinUnit->Wrap( -1 );
76  m_MicroViaMinUnit->SetToolTip( _("Enter the minimum acceptable diameter for a micro via") );
77 
78  fgMinValuesSizer->Add( m_MicroViaMinUnit, 0, wxALIGN_CENTER_VERTICAL|wxRIGHT, 5 );
79 
80 
81  bSizerOptions->Add( fgMinValuesSizer, 0, wxEXPAND|wxTOP|wxBOTTOM, 5 );
82 
83  wxBoxSizer* bSizerOptSettings;
84  bSizerOptSettings = new wxBoxSizer( wxVERTICAL );
85 
86  m_cbRefillZones = new wxCheckBox( this, wxID_ANY, _("Refill all zones before performing DRC"), wxDefaultPosition, wxDefaultSize, 0 );
87  bSizerOptSettings->Add( m_cbRefillZones, 0, wxALL, 5 );
88 
89  m_cbReportAllTrackErrors = new wxCheckBox( this, wxID_ANY, _("Report all errors for tracks (slower)"), wxDefaultPosition, wxDefaultSize, 0 );
90  m_cbReportAllTrackErrors->SetToolTip( _("If selected, all DRC violations for tracks will be reported. This can be slow for complicated designs.\n\nIf unselected, only the first DRC violation will be reported for each track connection.") );
91 
92  bSizerOptSettings->Add( m_cbReportAllTrackErrors, 0, wxBOTTOM|wxRIGHT|wxLEFT, 5 );
93 
94  m_cbReportTracksToZonesErrors = new wxCheckBox( this, wxID_ANY, _("Test tracks against filled copper areas (very slow)"), wxDefaultPosition, wxDefaultSize, 0 );
95  m_cbReportTracksToZonesErrors->SetToolTip( _("If selected, tracks will be tested against copper zones. \nIf copper zones are up to date, this test should be not needed.\n\nThis test can be *very slow* for complicated designs.") );
96 
97  bSizerOptSettings->Add( m_cbReportTracksToZonesErrors, 0, wxBOTTOM|wxRIGHT|wxLEFT, 5 );
98 
99  m_cbTestFootprints = new wxCheckBox( this, wxID_ANY, _("Test footprints against schematic"), wxDefaultPosition, wxDefaultSize, 0 );
100  bSizerOptSettings->Add( m_cbTestFootprints, 0, wxBOTTOM|wxRIGHT|wxLEFT, 5 );
101 
102 
103  bSizerOptions->Add( bSizerOptSettings, 1, wxEXPAND, 5 );
104 
105 
106  gbSizer1->Add( bSizerOptions, wxGBPosition( 0, 0 ), wxGBSpan( 1, 1 ), wxEXPAND|wxRIGHT|wxLEFT, 5 );
107 
108  m_Messages = new wxTextCtrl( this, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, wxHSCROLL|wxTE_MULTILINE|wxTE_READONLY );
109  m_Messages->SetMinSize( wxSize( 280,-1 ) );
110 
111  gbSizer1->Add( m_Messages, wxGBPosition( 0, 1 ), wxGBSpan( 1, 1 ), wxEXPAND|wxTOP|wxLEFT, 5 );
112 
113  wxFlexGridSizer* fgSizerRpt;
114  fgSizerRpt = new wxFlexGridSizer( 0, 3, 0, 0 );
115  fgSizerRpt->AddGrowableCol( 1 );
116  fgSizerRpt->SetFlexibleDirection( wxBOTH );
117  fgSizerRpt->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
118 
119  m_CreateRptCtrl = new wxCheckBox( this, ID_CHECKBOX_RPT_FILE, _("Create report file:"), wxDefaultPosition, wxDefaultSize, 0 );
120  m_CreateRptCtrl->SetToolTip( _("Enable writing report to this file") );
121 
122  fgSizerRpt->Add( m_CreateRptCtrl, 0, wxALIGN_CENTER_VERTICAL|wxRIGHT|wxLEFT, 10 );
123 
124  m_RptFilenameCtrl = new wxTextCtrl( this, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
125  m_RptFilenameCtrl->SetToolTip( _("Enter the report filename") );
126  m_RptFilenameCtrl->SetMinSize( wxSize( 180,-1 ) );
127 
128  fgSizerRpt->Add( m_RptFilenameCtrl, 0, wxALIGN_CENTER_VERTICAL|wxEXPAND|wxTOP|wxBOTTOM, 3 );
129 
130  m_BrowseButton = new wxBitmapButton( this, ID_BUTTON_BROWSE_RPT_FILE, wxNullBitmap, wxDefaultPosition, wxDefaultSize, wxBU_AUTODRAW|0 );
131  m_BrowseButton->SetMinSize( wxSize( 30,28 ) );
132 
133  fgSizerRpt->Add( m_BrowseButton, 0, wxALIGN_CENTER_VERTICAL, 2 );
134 
135 
136  gbSizer1->Add( fgSizerRpt, wxGBPosition( 1, 0 ), wxGBSpan( 1, 3 ), wxEXPAND|wxTOP|wxRIGHT, 7 );
137 
138 
139  gbSizer1->AddGrowableCol( 0 );
140  gbSizer1->AddGrowableCol( 1 );
141 
142  m_MainSizer->Add( gbSizer1, 0, wxEXPAND|wxALL, 5 );
143 
144  m_Notebook = new wxNotebook( this, ID_NOTEBOOK1, wxDefaultPosition, wxDefaultSize, 0 );
145  m_Notebook->SetMinSize( wxSize( 640,280 ) );
146 
147  m_panelViolations = new wxPanel( m_Notebook, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
148  wxBoxSizer* bSizerViolationsBox;
149  bSizerViolationsBox = new wxBoxSizer( wxVERTICAL );
150 
151  m_ClearanceListBox = new DRCLISTBOX( m_panelViolations, ID_CLEARANCE_LIST, wxDefaultPosition, wxDefaultSize, 0, NULL, 0 );
152  m_ClearanceListBox->SetFont( wxFont( wxNORMAL_FONT->GetPointSize(), wxFONTFAMILY_DEFAULT, wxFONTSTYLE_NORMAL, wxFONTWEIGHT_NORMAL, false, wxEmptyString ) );
153  m_ClearanceListBox->SetToolTip( _("Left-click to center on problem marker. Right-click to highlight items.") );
154 
155  bSizerViolationsBox->Add( m_ClearanceListBox, 1, wxEXPAND|wxALL, 5 );
156 
157 
158  m_panelViolations->SetSizer( bSizerViolationsBox );
159  m_panelViolations->Layout();
160  bSizerViolationsBox->Fit( m_panelViolations );
161  m_Notebook->AddPage( m_panelViolations, _("Violations / Markers (%d)"), true );
162  m_panelUnconnectedItems = new wxPanel( m_Notebook, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
163  wxBoxSizer* bSizerUnconnectedBox;
164  bSizerUnconnectedBox = new wxBoxSizer( wxVERTICAL );
165 
166  m_UnconnectedListBox = new DRCLISTBOX( m_panelUnconnectedItems, ID_UNCONNECTED_LIST, wxDefaultPosition, wxDefaultSize, 0, NULL, 0 );
167  m_UnconnectedListBox->SetToolTip( _("Left-click to center on unconnected pair. Right-click to highlight unconnected items.") );
168 
169  bSizerUnconnectedBox->Add( m_UnconnectedListBox, 1, wxALL|wxEXPAND, 5 );
170 
171 
172  m_panelUnconnectedItems->SetSizer( bSizerUnconnectedBox );
173  m_panelUnconnectedItems->Layout();
174  bSizerUnconnectedBox->Fit( m_panelUnconnectedItems );
175  m_Notebook->AddPage( m_panelUnconnectedItems, _("Unconnected Items (%d)"), false );
176  m_panelFootprintWarnings = new wxPanel( m_Notebook, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
177  wxBoxSizer* bSizerFootprintsBox;
178  bSizerFootprintsBox = new wxBoxSizer( wxVERTICAL );
179 
180  m_FootprintsListBox = new DRCLISTBOX( m_panelFootprintWarnings, ID_FOOTPRINTS_LIST, wxDefaultPosition, wxDefaultSize, 0, NULL, 0 );
181  bSizerFootprintsBox->Add( m_FootprintsListBox, 1, wxALL|wxEXPAND, 5 );
182 
183 
184  m_panelFootprintWarnings->SetSizer( bSizerFootprintsBox );
185  m_panelFootprintWarnings->Layout();
186  bSizerFootprintsBox->Fit( m_panelFootprintWarnings );
187  m_Notebook->AddPage( m_panelFootprintWarnings, _("Footprint Warnings (%d)"), false );
188 
189  m_MainSizer->Add( m_Notebook, 1, wxEXPAND|wxLEFT|wxRIGHT, 5 );
190 
191  m_sizerButtons = new wxBoxSizer( wxHORIZONTAL );
192 
193  m_DeleteCurrentMarkerButton = new wxButton( this, wxID_ANY, _("Delete Marker"), wxDefaultPosition, wxDefaultSize, 0 );
194  m_sizerButtons->Add( m_DeleteCurrentMarkerButton, 0, wxALIGN_CENTER_VERTICAL|wxRIGHT|wxLEFT, 10 );
195 
196  m_DeleteAllMarkersButton = new wxButton( this, wxID_ANY, _("Delete All Markers"), wxDefaultPosition, wxDefaultSize, 0 );
197  m_sizerButtons->Add( m_DeleteAllMarkersButton, 0, wxALIGN_CENTER_VERTICAL|wxRIGHT, 5 );
198 
199  m_sdbSizer1 = new wxStdDialogButtonSizer();
200  m_sdbSizer1OK = new wxButton( this, wxID_OK );
201  m_sdbSizer1->AddButton( m_sdbSizer1OK );
202  m_sdbSizer1Cancel = new wxButton( this, wxID_CANCEL );
203  m_sdbSizer1->AddButton( m_sdbSizer1Cancel );
204  m_sdbSizer1->Realize();
205 
206  m_sizerButtons->Add( m_sdbSizer1, 1, wxEXPAND|wxALL, 5 );
207 
208 
209  m_MainSizer->Add( m_sizerButtons, 0, wxEXPAND|wxLEFT, 5 );
210 
211 
212  this->SetSizer( m_MainSizer );
213  this->Layout();
214  m_MainSizer->Fit( this );
215 
216  // Connect Events
217  this->Connect( wxEVT_ACTIVATE, wxActivateEventHandler( DIALOG_DRC_CONTROL_BASE::OnActivateDlg ) );
218  m_CreateRptCtrl->Connect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( DIALOG_DRC_CONTROL_BASE::OnReportCheckBoxClicked ), NULL, this );
219  m_RptFilenameCtrl->Connect( wxEVT_COMMAND_TEXT_UPDATED, wxCommandEventHandler( DIALOG_DRC_CONTROL_BASE::OnReportFilenameEdited ), NULL, this );
220  m_BrowseButton->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( DIALOG_DRC_CONTROL_BASE::OnButtonBrowseRptFileClick ), NULL, this );
221  m_Notebook->Connect( wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED, wxNotebookEventHandler( DIALOG_DRC_CONTROL_BASE::OnChangingMarkerList ), NULL, this );
222  m_ClearanceListBox->Connect( wxEVT_LEFT_DCLICK, wxMouseEventHandler( DIALOG_DRC_CONTROL_BASE::OnLeftDClickClearance ), NULL, this );
223  m_ClearanceListBox->Connect( wxEVT_LEFT_UP, wxMouseEventHandler( DIALOG_DRC_CONTROL_BASE::OnLeftUpClearance ), NULL, this );
224  m_ClearanceListBox->Connect( wxEVT_COMMAND_LISTBOX_SELECTED, wxCommandEventHandler( DIALOG_DRC_CONTROL_BASE::OnMarkerSelectionEvent ), NULL, this );
225  m_ClearanceListBox->Connect( wxEVT_RIGHT_UP, wxMouseEventHandler( DIALOG_DRC_CONTROL_BASE::OnRightUpClearance ), NULL, this );
226  m_UnconnectedListBox->Connect( wxEVT_LEFT_DCLICK, wxMouseEventHandler( DIALOG_DRC_CONTROL_BASE::OnLeftDClickUnconnected ), NULL, this );
227  m_UnconnectedListBox->Connect( wxEVT_LEFT_UP, wxMouseEventHandler( DIALOG_DRC_CONTROL_BASE::OnLeftUpUnconnected ), NULL, this );
228  m_UnconnectedListBox->Connect( wxEVT_COMMAND_LISTBOX_SELECTED, wxCommandEventHandler( DIALOG_DRC_CONTROL_BASE::OnUnconnectedSelectionEvent ), NULL, this );
229  m_UnconnectedListBox->Connect( wxEVT_RIGHT_UP, wxMouseEventHandler( DIALOG_DRC_CONTROL_BASE::OnRightUpUnconnected ), NULL, this );
230  m_FootprintsListBox->Connect( wxEVT_LEFT_DCLICK, wxMouseEventHandler( DIALOG_DRC_CONTROL_BASE::OnLeftDClickFootprints ), NULL, this );
231  m_FootprintsListBox->Connect( wxEVT_COMMAND_LISTBOX_SELECTED, wxCommandEventHandler( DIALOG_DRC_CONTROL_BASE::OnFootprintsSelectionEvent ), NULL, this );
232  m_FootprintsListBox->Connect( wxEVT_RIGHT_UP, wxMouseEventHandler( DIALOG_DRC_CONTROL_BASE::OnRightUpFootprints ), NULL, this );
233  m_DeleteCurrentMarkerButton->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( DIALOG_DRC_CONTROL_BASE::OnDeleteOneClick ), NULL, this );
234  m_DeleteAllMarkersButton->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( DIALOG_DRC_CONTROL_BASE::OnDeleteAllClick ), NULL, this );
235  m_sdbSizer1Cancel->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( DIALOG_DRC_CONTROL_BASE::OnCancelClick ), NULL, this );
236  m_sdbSizer1OK->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( DIALOG_DRC_CONTROL_BASE::OnStartdrcClick ), NULL, this );
237 }
238 
240 {
241  // Disconnect Events
242  this->Disconnect( wxEVT_ACTIVATE, wxActivateEventHandler( DIALOG_DRC_CONTROL_BASE::OnActivateDlg ) );
243  m_CreateRptCtrl->Disconnect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( DIALOG_DRC_CONTROL_BASE::OnReportCheckBoxClicked ), NULL, this );
244  m_RptFilenameCtrl->Disconnect( wxEVT_COMMAND_TEXT_UPDATED, wxCommandEventHandler( DIALOG_DRC_CONTROL_BASE::OnReportFilenameEdited ), NULL, this );
245  m_BrowseButton->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( DIALOG_DRC_CONTROL_BASE::OnButtonBrowseRptFileClick ), NULL, this );
246  m_Notebook->Disconnect( wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED, wxNotebookEventHandler( DIALOG_DRC_CONTROL_BASE::OnChangingMarkerList ), NULL, this );
247  m_ClearanceListBox->Disconnect( wxEVT_LEFT_DCLICK, wxMouseEventHandler( DIALOG_DRC_CONTROL_BASE::OnLeftDClickClearance ), NULL, this );
248  m_ClearanceListBox->Disconnect( wxEVT_LEFT_UP, wxMouseEventHandler( DIALOG_DRC_CONTROL_BASE::OnLeftUpClearance ), NULL, this );
249  m_ClearanceListBox->Disconnect( wxEVT_COMMAND_LISTBOX_SELECTED, wxCommandEventHandler( DIALOG_DRC_CONTROL_BASE::OnMarkerSelectionEvent ), NULL, this );
250  m_ClearanceListBox->Disconnect( wxEVT_RIGHT_UP, wxMouseEventHandler( DIALOG_DRC_CONTROL_BASE::OnRightUpClearance ), NULL, this );
251  m_UnconnectedListBox->Disconnect( wxEVT_LEFT_DCLICK, wxMouseEventHandler( DIALOG_DRC_CONTROL_BASE::OnLeftDClickUnconnected ), NULL, this );
252  m_UnconnectedListBox->Disconnect( wxEVT_LEFT_UP, wxMouseEventHandler( DIALOG_DRC_CONTROL_BASE::OnLeftUpUnconnected ), NULL, this );
253  m_UnconnectedListBox->Disconnect( wxEVT_COMMAND_LISTBOX_SELECTED, wxCommandEventHandler( DIALOG_DRC_CONTROL_BASE::OnUnconnectedSelectionEvent ), NULL, this );
254  m_UnconnectedListBox->Disconnect( wxEVT_RIGHT_UP, wxMouseEventHandler( DIALOG_DRC_CONTROL_BASE::OnRightUpUnconnected ), NULL, this );
255  m_FootprintsListBox->Disconnect( wxEVT_LEFT_DCLICK, wxMouseEventHandler( DIALOG_DRC_CONTROL_BASE::OnLeftDClickFootprints ), NULL, this );
256  m_FootprintsListBox->Disconnect( wxEVT_COMMAND_LISTBOX_SELECTED, wxCommandEventHandler( DIALOG_DRC_CONTROL_BASE::OnFootprintsSelectionEvent ), NULL, this );
257  m_FootprintsListBox->Disconnect( wxEVT_RIGHT_UP, wxMouseEventHandler( DIALOG_DRC_CONTROL_BASE::OnRightUpFootprints ), NULL, this );
258  m_DeleteCurrentMarkerButton->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( DIALOG_DRC_CONTROL_BASE::OnDeleteOneClick ), NULL, this );
259  m_DeleteAllMarkersButton->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( DIALOG_DRC_CONTROL_BASE::OnDeleteAllClick ), NULL, this );
260  m_sdbSizer1Cancel->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( DIALOG_DRC_CONTROL_BASE::OnCancelClick ), NULL, this );
261  m_sdbSizer1OK->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( DIALOG_DRC_CONTROL_BASE::OnStartdrcClick ), NULL, this );
262 
263 }
virtual void OnFootprintsSelectionEvent(wxCommandEvent &event)
wxStaticText * m_MicroViaMinTitle
#define ID_NOTEBOOK1
#define ID_CLEARANCE_LIST
virtual void OnCancelClick(wxCommandEvent &event)
virtual void OnLeftUpUnconnected(wxMouseEvent &event)
virtual void OnLeftDClickUnconnected(wxMouseEvent &event)
wxStaticText * m_TrackMinWidthTitle
virtual void OnChangingMarkerList(wxNotebookEvent &event)
wxCheckBox * m_cbTestFootprints
virtual void OnDeleteOneClick(wxCommandEvent &event)
wxCheckBox * m_cbRefillZones
wxCheckBox * m_CreateRptCtrl
virtual void OnLeftDClickFootprints(wxMouseEvent &event)
wxTextCtrl * m_RptFilenameCtrl
wxCheckBox * m_cbReportTracksToZonesErrors
wxStaticText * m_ViaMinUnit
wxButton * m_DeleteCurrentMarkerButton
Class DIALOG_SHIM may sit in the inheritance tree between wxDialog and any class written by wxFormBui...
Definition: dialog_shim.h:83
virtual void OnRightUpFootprints(wxMouseEvent &event)
DRCLISTBOX * m_UnconnectedListBox
virtual void OnRightUpUnconnected(wxMouseEvent &event)
wxPanel * m_panelFootprintWarnings
wxStaticText * m_ViaMinTitle
wxTextCtrl * m_SetViaMinSizeCtrl
wxStaticText * m_MicroViaMinUnit
DRCLISTBOX * m_ClearanceListBox
wxBitmapButton * m_BrowseButton
wxCheckBox * m_cbReportAllTrackErrors
virtual void OnStartdrcClick(wxCommandEvent &event)
Class DRCLISTBOX is used to display a DRC_ITEM_LIST.
virtual void OnButtonBrowseRptFileClick(wxCommandEvent &event)
wxButton * m_DeleteAllMarkersButton
virtual void OnReportFilenameEdited(wxCommandEvent &event)
#define ID_BUTTON_BROWSE_RPT_FILE
virtual void OnRightUpClearance(wxMouseEvent &event)
DRCLISTBOX * m_FootprintsListBox
wxTextCtrl * m_SetMicroViakMinSizeCtrl
virtual void OnUnconnectedSelectionEvent(wxCommandEvent &event)
virtual void OnReportCheckBoxClicked(wxCommandEvent &event)
wxStaticText * m_TrackMinWidthUnit
wxTextCtrl * m_SetTrackMinWidthCtrl
virtual void OnMarkerSelectionEvent(wxCommandEvent &event)
#define ID_CHECKBOX_RPT_FILE
#define ID_FOOTPRINTS_LIST
wxStdDialogButtonSizer * m_sdbSizer1
virtual void OnLeftUpClearance(wxMouseEvent &event)
#define ID_UNCONNECTED_LIST
DIALOG_DRC_CONTROL_BASE(wxWindow *parent, wxWindowID id=wxID_ANY, const wxString &title=_("DRC Control"), const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxSize(-1,-1), long style=wxDEFAULT_DIALOG_STYLE|wxRESIZE_BORDER)
virtual void OnActivateDlg(wxActivateEvent &event)
virtual void OnLeftDClickClearance(wxMouseEvent &event)
virtual void OnDeleteAllClick(wxCommandEvent &event)