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_drc_base.h"
9 
11 
12 DIALOG_DRC_BASE::DIALOG_DRC_BASE( wxWindow* parent, wxWindowID id, const wxString& title, const wxPoint& pos, const wxSize& size, long style ) : DIALOG_SHIM( parent, id, title, pos, size, style )
13 {
14  this->SetSizeHints( wxDefaultSize, wxDefaultSize );
15 
16  wxBoxSizer* m_MainSizer;
17  m_MainSizer = new wxBoxSizer( wxVERTICAL );
18 
19  wxGridBagSizer* gbSizer1;
20  gbSizer1 = new wxGridBagSizer( 0, 10 );
21  gbSizer1->SetFlexibleDirection( wxBOTH );
22  gbSizer1->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
23 
24  wxBoxSizer* bSizerOptions;
25  bSizerOptions = new wxBoxSizer( wxVERTICAL );
26 
27  wxFlexGridSizer* fgMinValuesSizer;
28  fgMinValuesSizer = new wxFlexGridSizer( 4, 3, 0, 0 );
29  fgMinValuesSizer->AddGrowableCol( 1 );
30  fgMinValuesSizer->SetFlexibleDirection( wxHORIZONTAL );
31  fgMinValuesSizer->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
32 
33  m_MinWidthLabel = new wxStaticText( this, wxID_ANY, _("Minimum track width:"), wxDefaultPosition, wxDefaultSize, 0 );
34  m_MinWidthLabel->Wrap( -1 );
35  m_MinWidthLabel->SetToolTip( _("Enter the minimum acceptable value for a track width") );
36 
37  fgMinValuesSizer->Add( m_MinWidthLabel, 0, wxALIGN_CENTER_VERTICAL|wxALIGN_RIGHT|wxLEFT, 5 );
38 
39  m_MinWidthCtrl = new wxTextCtrl( this, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
40  fgMinValuesSizer->Add( m_MinWidthCtrl, 0, wxEXPAND|wxTOP|wxRIGHT|wxLEFT, 3 );
41 
42  m_MinWidthUnits = new wxStaticText( this, wxID_ANY, _("unit"), wxDefaultPosition, wxDefaultSize, 0 );
43  m_MinWidthUnits->Wrap( -1 );
44  m_MinWidthUnits->SetToolTip( _("Enter the minimum acceptable value for a track width") );
45 
46  fgMinValuesSizer->Add( m_MinWidthUnits, 0, wxALIGN_CENTER_VERTICAL|wxRIGHT, 5 );
47 
48  m_ViaMinLabel = new wxStaticText( this, wxID_ANY, _("Minimum via size:"), wxDefaultPosition, wxDefaultSize, 0 );
49  m_ViaMinLabel->Wrap( -1 );
50  m_ViaMinLabel->SetHelpText( _("Enter the minimum acceptable diameter for a standard via") );
51 
52  fgMinValuesSizer->Add( m_ViaMinLabel, 0, wxALIGN_CENTER_VERTICAL|wxLEFT, 5 );
53 
54  m_ViaMinCtrl = new wxTextCtrl( this, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
55  fgMinValuesSizer->Add( m_ViaMinCtrl, 0, wxEXPAND|wxTOP|wxRIGHT|wxLEFT|wxALIGN_CENTER_VERTICAL, 3 );
56 
57  m_ViaMinUnits = new wxStaticText( this, wxID_ANY, _("unit"), wxDefaultPosition, wxDefaultSize, 0 );
58  m_ViaMinUnits->Wrap( -1 );
59  m_ViaMinUnits->SetHelpText( _("Enter the minimum acceptable diameter for a standard via") );
60 
61  fgMinValuesSizer->Add( m_ViaMinUnits, 0, wxALIGN_CENTER_VERTICAL|wxRIGHT, 5 );
62 
63  m_uViaMinLabel = new wxStaticText( this, wxID_ANY, _("Minimum uVia size:"), wxDefaultPosition, wxDefaultSize, 0 );
64  m_uViaMinLabel->Wrap( -1 );
65  m_uViaMinLabel->SetToolTip( _("Enter the minimum acceptable diameter for a micro via") );
66 
67  fgMinValuesSizer->Add( m_uViaMinLabel, 0, wxALIGN_CENTER_VERTICAL|wxLEFT, 5 );
68 
69  m_uViaMinCtrl = new wxTextCtrl( this, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
70  fgMinValuesSizer->Add( m_uViaMinCtrl, 0, wxEXPAND|wxTOP|wxRIGHT|wxLEFT, 3 );
71 
72  m_uViaMinUnits = new wxStaticText( this, wxID_ANY, _("unit"), wxDefaultPosition, wxDefaultSize, 0 );
73  m_uViaMinUnits->Wrap( -1 );
74  m_uViaMinUnits->SetToolTip( _("Enter the minimum acceptable diameter for a micro via") );
75 
76  fgMinValuesSizer->Add( m_uViaMinUnits, 0, wxALIGN_CENTER_VERTICAL|wxRIGHT, 5 );
77 
78 
79  bSizerOptions->Add( fgMinValuesSizer, 0, wxEXPAND|wxTOP|wxBOTTOM, 5 );
80 
81  wxBoxSizer* bSizerOptSettings;
82  bSizerOptSettings = new wxBoxSizer( wxVERTICAL );
83 
84  m_cbRefillZones = new wxCheckBox( this, wxID_ANY, _("Refill all zones before performing DRC"), wxDefaultPosition, wxDefaultSize, 0 );
85  bSizerOptSettings->Add( m_cbRefillZones, 0, wxALL, 5 );
86 
87  m_cbReportAllTrackErrors = new wxCheckBox( this, wxID_ANY, _("Report all errors for tracks (slower)"), wxDefaultPosition, wxDefaultSize, 0 );
88  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.") );
89 
90  bSizerOptSettings->Add( m_cbReportAllTrackErrors, 0, wxBOTTOM|wxRIGHT|wxLEFT, 5 );
91 
92  m_cbReportTracksToZonesErrors = new wxCheckBox( this, wxID_ANY, _("Test tracks against filled copper areas (very slow)"), wxDefaultPosition, wxDefaultSize, 0 );
93  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.") );
94 
95  bSizerOptSettings->Add( m_cbReportTracksToZonesErrors, 0, wxBOTTOM|wxRIGHT|wxLEFT, 5 );
96 
97  m_cbTestFootprints = new wxCheckBox( this, wxID_ANY, _("Test footprints against schematic"), wxDefaultPosition, wxDefaultSize, 0 );
98  bSizerOptSettings->Add( m_cbTestFootprints, 0, wxBOTTOM|wxRIGHT|wxLEFT, 5 );
99 
100 
101  bSizerOptions->Add( bSizerOptSettings, 1, wxEXPAND, 5 );
102 
103 
104  gbSizer1->Add( bSizerOptions, wxGBPosition( 0, 0 ), wxGBSpan( 1, 1 ), wxEXPAND|wxRIGHT|wxLEFT, 5 );
105 
106  m_Messages = new wxTextCtrl( this, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, wxHSCROLL|wxTE_MULTILINE|wxTE_READONLY );
107  m_Messages->SetMinSize( wxSize( 280,-1 ) );
108 
109  gbSizer1->Add( m_Messages, wxGBPosition( 0, 1 ), wxGBSpan( 1, 1 ), wxEXPAND|wxTOP|wxRIGHT|wxLEFT, 5 );
110 
111 
112  gbSizer1->AddGrowableCol( 0 );
113  gbSizer1->AddGrowableCol( 1 );
114 
115  m_MainSizer->Add( gbSizer1, 0, wxEXPAND|wxALL, 5 );
116 
117  m_Notebook = new wxNotebook( this, ID_NOTEBOOK1, wxDefaultPosition, wxDefaultSize, 0 );
118  m_Notebook->SetMinSize( wxSize( 640,280 ) );
119 
120  m_panelViolations = new wxPanel( m_Notebook, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
121  wxBoxSizer* bSizerViolationsBox;
122  bSizerViolationsBox = new wxBoxSizer( wxVERTICAL );
123 
124  m_markerDataView = new wxDataViewCtrl( m_panelViolations, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxDV_NO_HEADER );
125  m_markerDataView->SetToolTip( _("Click on items to highlight them on the board.") );
126 
127  bSizerViolationsBox->Add( m_markerDataView, 1, wxALL|wxEXPAND, 5 );
128 
129 
130  m_panelViolations->SetSizer( bSizerViolationsBox );
131  m_panelViolations->Layout();
132  bSizerViolationsBox->Fit( m_panelViolations );
133  m_Notebook->AddPage( m_panelViolations, _("Violations / Markers (%d)"), false );
134  m_panelUnconnectedItems = new wxPanel( m_Notebook, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
135  wxBoxSizer* bSizerUnconnectedBox;
136  bSizerUnconnectedBox = new wxBoxSizer( wxVERTICAL );
137 
138  m_unconnectedDataView = new wxDataViewCtrl( m_panelUnconnectedItems, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxDV_NO_HEADER );
139  bSizerUnconnectedBox->Add( m_unconnectedDataView, 1, wxALL|wxEXPAND, 5 );
140 
141 
142  m_panelUnconnectedItems->SetSizer( bSizerUnconnectedBox );
143  m_panelUnconnectedItems->Layout();
144  bSizerUnconnectedBox->Fit( m_panelUnconnectedItems );
145  m_Notebook->AddPage( m_panelUnconnectedItems, _("Unconnected Items (%d)"), true );
146  m_panelFootprintWarnings = new wxPanel( m_Notebook, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
147  wxBoxSizer* bSizerFootprintsBox;
148  bSizerFootprintsBox = new wxBoxSizer( wxVERTICAL );
149 
150  m_footprintsDataView = new wxDataViewCtrl( m_panelFootprintWarnings, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxDV_NO_HEADER );
151  bSizerFootprintsBox->Add( m_footprintsDataView, 1, wxALL|wxEXPAND, 5 );
152 
153 
154  m_panelFootprintWarnings->SetSizer( bSizerFootprintsBox );
155  m_panelFootprintWarnings->Layout();
156  bSizerFootprintsBox->Fit( m_panelFootprintWarnings );
157  m_Notebook->AddPage( m_panelFootprintWarnings, _("Footprint Warnings (%d)"), false );
158 
159  m_MainSizer->Add( m_Notebook, 1, wxEXPAND|wxBOTTOM|wxRIGHT|wxLEFT, 5 );
160 
161  wxBoxSizer* bSizer9;
162  bSizer9 = new wxBoxSizer( wxVERTICAL );
163 
164  wxBoxSizer* bSeveritySizer;
165  bSeveritySizer = new wxBoxSizer( wxHORIZONTAL );
166 
167  m_showLabel = new wxStaticText( this, wxID_ANY, _("Show:"), wxDefaultPosition, wxDefaultSize, 0 );
168  m_showLabel->Wrap( -1 );
169  bSeveritySizer->Add( m_showLabel, 0, wxALIGN_CENTER_VERTICAL|wxRIGHT|wxLEFT, 5 );
170 
171  m_showAll = new wxCheckBox( this, wxID_ANY, _("All"), wxDefaultPosition, wxDefaultSize, 0 );
172  bSeveritySizer->Add( m_showAll, 0, wxALIGN_CENTER_VERTICAL|wxRIGHT|wxLEFT, 5 );
173 
174 
175  bSeveritySizer->Add( 35, 0, 0, wxEXPAND, 5 );
176 
177  m_showErrors = new wxCheckBox( this, wxID_ANY, _("Errors"), wxDefaultPosition, wxDefaultSize, 0 );
178  bSeveritySizer->Add( m_showErrors, 0, wxALIGN_CENTER_VERTICAL|wxRIGHT|wxLEFT, 5 );
179 
180  m_errorsBadge = new wxStaticBitmap( this, wxID_ANY, wxNullBitmap, wxDefaultPosition, wxDefaultSize, 0 );
181  m_errorsBadge->SetMinSize( wxSize( 20,20 ) );
182 
183  bSeveritySizer->Add( m_errorsBadge, 0, wxRIGHT|wxALIGN_CENTER_VERTICAL, 25 );
184 
185  m_showWarnings = new wxCheckBox( this, wxID_ANY, _("Warnings"), wxDefaultPosition, wxDefaultSize, 0 );
186  bSeveritySizer->Add( m_showWarnings, 0, wxALIGN_CENTER_VERTICAL|wxRIGHT|wxLEFT, 5 );
187 
188  m_warningsBadge = new wxStaticBitmap( this, wxID_ANY, wxNullBitmap, wxDefaultPosition, wxDefaultSize, 0 );
189  m_warningsBadge->SetMinSize( wxSize( 20,20 ) );
190 
191  bSeveritySizer->Add( m_warningsBadge, 0, wxRIGHT|wxALIGN_CENTER_VERTICAL, 25 );
192 
193  m_showExclusions = new wxCheckBox( this, wxID_ANY, _("Exclusions"), wxDefaultPosition, wxDefaultSize, 0 );
194  bSeveritySizer->Add( m_showExclusions, 0, wxALIGN_CENTER_VERTICAL|wxRIGHT|wxLEFT, 5 );
195 
196  m_exclusionsBadge = new wxStaticBitmap( this, wxID_ANY, wxNullBitmap, wxDefaultPosition, wxDefaultSize, 0 );
197  bSeveritySizer->Add( m_exclusionsBadge, 0, wxRIGHT|wxALIGN_CENTER_VERTICAL, 25 );
198 
199 
200  bSeveritySizer->Add( 0, 0, 1, wxEXPAND, 5 );
201 
202  m_saveReport = new wxButton( this, wxID_ANY, _("Save..."), wxDefaultPosition, wxDefaultSize, 0 );
203  bSeveritySizer->Add( m_saveReport, 0, wxALIGN_CENTER_VERTICAL|wxRIGHT|wxLEFT, 5 );
204 
205 
206  bSizer9->Add( bSeveritySizer, 0, wxEXPAND|wxRIGHT|wxLEFT, 5 );
207 
208 
209  m_MainSizer->Add( bSizer9, 0, wxEXPAND|wxBOTTOM|wxRIGHT|wxLEFT, 5 );
210 
211  m_staticline1 = new wxStaticLine( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLI_HORIZONTAL );
212  m_MainSizer->Add( m_staticline1, 0, wxEXPAND|wxTOP|wxRIGHT|wxLEFT, 10 );
213 
214  m_sizerButtons = new wxBoxSizer( wxHORIZONTAL );
215 
216  m_DeleteCurrentMarkerButton = new wxButton( this, wxID_ANY, _("Delete Marker"), wxDefaultPosition, wxDefaultSize, 0 );
217  m_sizerButtons->Add( m_DeleteCurrentMarkerButton, 0, wxALIGN_CENTER_VERTICAL|wxRIGHT|wxLEFT, 10 );
218 
219  m_DeleteAllMarkersButton = new wxButton( this, wxID_ANY, _("Delete All Markers"), wxDefaultPosition, wxDefaultSize, 0 );
220  m_sizerButtons->Add( m_DeleteAllMarkersButton, 0, wxALIGN_CENTER_VERTICAL|wxRIGHT, 5 );
221 
222  m_sdbSizer1 = new wxStdDialogButtonSizer();
223  m_sdbSizer1OK = new wxButton( this, wxID_OK );
224  m_sdbSizer1->AddButton( m_sdbSizer1OK );
225  m_sdbSizer1Cancel = new wxButton( this, wxID_CANCEL );
226  m_sdbSizer1->AddButton( m_sdbSizer1Cancel );
227  m_sdbSizer1->Realize();
228 
229  m_sizerButtons->Add( m_sdbSizer1, 1, wxEXPAND|wxALL, 5 );
230 
231 
232  m_MainSizer->Add( m_sizerButtons, 0, wxEXPAND|wxLEFT, 5 );
233 
234 
235  this->SetSizer( m_MainSizer );
236  this->Layout();
237  m_MainSizer->Fit( this );
238 
239  // Connect Events
240  this->Connect( wxEVT_ACTIVATE, wxActivateEventHandler( DIALOG_DRC_BASE::OnActivateDlg ) );
241  m_Notebook->Connect( wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED, wxNotebookEventHandler( DIALOG_DRC_BASE::OnChangingNotebookPage ), NULL, this );
242  m_markerDataView->Connect( wxEVT_COMMAND_DATAVIEW_ITEM_ACTIVATED, wxDataViewEventHandler( DIALOG_DRC_BASE::OnDRCItemDClick ), NULL, this );
243  m_markerDataView->Connect( wxEVT_COMMAND_DATAVIEW_ITEM_CONTEXT_MENU, wxDataViewEventHandler( DIALOG_DRC_BASE::OnDRCItemRClick ), NULL, this );
244  m_markerDataView->Connect( wxEVT_COMMAND_DATAVIEW_SELECTION_CHANGED, wxDataViewEventHandler( DIALOG_DRC_BASE::OnDRCItemSelected ), NULL, this );
245  m_unconnectedDataView->Connect( wxEVT_COMMAND_DATAVIEW_ITEM_ACTIVATED, wxDataViewEventHandler( DIALOG_DRC_BASE::OnDRCItemDClick ), NULL, this );
246  m_unconnectedDataView->Connect( wxEVT_COMMAND_DATAVIEW_SELECTION_CHANGED, wxDataViewEventHandler( DIALOG_DRC_BASE::OnDRCItemSelected ), NULL, this );
247  m_footprintsDataView->Connect( wxEVT_COMMAND_DATAVIEW_ITEM_ACTIVATED, wxDataViewEventHandler( DIALOG_DRC_BASE::OnDRCItemDClick ), NULL, this );
248  m_footprintsDataView->Connect( wxEVT_COMMAND_DATAVIEW_SELECTION_CHANGED, wxDataViewEventHandler( DIALOG_DRC_BASE::OnDRCItemSelected ), NULL, this );
249  m_showAll->Connect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( DIALOG_DRC_BASE::OnSeverity ), NULL, this );
250  m_showErrors->Connect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( DIALOG_DRC_BASE::OnSeverity ), NULL, this );
251  m_showWarnings->Connect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( DIALOG_DRC_BASE::OnSeverity ), NULL, this );
252  m_showExclusions->Connect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( DIALOG_DRC_BASE::OnSeverity ), NULL, this );
253  m_saveReport->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( DIALOG_DRC_BASE::OnSaveReport ), NULL, this );
254  m_DeleteCurrentMarkerButton->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( DIALOG_DRC_BASE::OnDeleteOneClick ), NULL, this );
255  m_DeleteAllMarkersButton->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( DIALOG_DRC_BASE::OnDeleteAllClick ), NULL, this );
256  m_sdbSizer1Cancel->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( DIALOG_DRC_BASE::OnCancelClick ), NULL, this );
257  m_sdbSizer1OK->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( DIALOG_DRC_BASE::OnRunDRCClick ), NULL, this );
258 }
259 
261 {
262  // Disconnect Events
263  this->Disconnect( wxEVT_ACTIVATE, wxActivateEventHandler( DIALOG_DRC_BASE::OnActivateDlg ) );
264  m_Notebook->Disconnect( wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED, wxNotebookEventHandler( DIALOG_DRC_BASE::OnChangingNotebookPage ), NULL, this );
265  m_markerDataView->Disconnect( wxEVT_COMMAND_DATAVIEW_ITEM_ACTIVATED, wxDataViewEventHandler( DIALOG_DRC_BASE::OnDRCItemDClick ), NULL, this );
266  m_markerDataView->Disconnect( wxEVT_COMMAND_DATAVIEW_ITEM_CONTEXT_MENU, wxDataViewEventHandler( DIALOG_DRC_BASE::OnDRCItemRClick ), NULL, this );
267  m_markerDataView->Disconnect( wxEVT_COMMAND_DATAVIEW_SELECTION_CHANGED, wxDataViewEventHandler( DIALOG_DRC_BASE::OnDRCItemSelected ), NULL, this );
268  m_unconnectedDataView->Disconnect( wxEVT_COMMAND_DATAVIEW_ITEM_ACTIVATED, wxDataViewEventHandler( DIALOG_DRC_BASE::OnDRCItemDClick ), NULL, this );
269  m_unconnectedDataView->Disconnect( wxEVT_COMMAND_DATAVIEW_SELECTION_CHANGED, wxDataViewEventHandler( DIALOG_DRC_BASE::OnDRCItemSelected ), NULL, this );
270  m_footprintsDataView->Disconnect( wxEVT_COMMAND_DATAVIEW_ITEM_ACTIVATED, wxDataViewEventHandler( DIALOG_DRC_BASE::OnDRCItemDClick ), NULL, this );
271  m_footprintsDataView->Disconnect( wxEVT_COMMAND_DATAVIEW_SELECTION_CHANGED, wxDataViewEventHandler( DIALOG_DRC_BASE::OnDRCItemSelected ), NULL, this );
272  m_showAll->Disconnect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( DIALOG_DRC_BASE::OnSeverity ), NULL, this );
273  m_showErrors->Disconnect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( DIALOG_DRC_BASE::OnSeverity ), NULL, this );
274  m_showWarnings->Disconnect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( DIALOG_DRC_BASE::OnSeverity ), NULL, this );
275  m_showExclusions->Disconnect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( DIALOG_DRC_BASE::OnSeverity ), NULL, this );
276  m_saveReport->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( DIALOG_DRC_BASE::OnSaveReport ), NULL, this );
277  m_DeleteCurrentMarkerButton->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( DIALOG_DRC_BASE::OnDeleteOneClick ), NULL, this );
278  m_DeleteAllMarkersButton->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( DIALOG_DRC_BASE::OnDeleteAllClick ), NULL, this );
279  m_sdbSizer1Cancel->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( DIALOG_DRC_BASE::OnCancelClick ), NULL, this );
280  m_sdbSizer1OK->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( DIALOG_DRC_BASE::OnRunDRCClick ), NULL, this );
281 
282 }
wxCheckBox * m_showWarnings
wxStdDialogButtonSizer * m_sdbSizer1
virtual void OnActivateDlg(wxActivateEvent &event)
#define ID_NOTEBOOK1
wxCheckBox * m_cbTestFootprints
wxStaticText * m_showLabel
wxButton * m_sdbSizer1Cancel
wxNotebook * m_Notebook
wxTextCtrl * m_ViaMinCtrl
wxPanel * m_panelViolations
wxCheckBox * m_cbReportAllTrackErrors
wxButton * m_DeleteCurrentMarkerButton
wxPanel * m_panelFootprintWarnings
virtual void OnDRCItemRClick(wxDataViewEvent &event)
wxStaticLine * m_staticline1
virtual void OnDeleteAllClick(wxCommandEvent &event)
wxTextCtrl * m_MinWidthCtrl
Dialog helper object to sit in the inheritance tree between wxDialog and any class written by wxFormB...
Definition: dialog_shim.h:83
wxStaticBitmap * m_errorsBadge
virtual void OnDRCItemDClick(wxDataViewEvent &event)
wxButton * m_sdbSizer1OK
wxPanel * m_panelUnconnectedItems
wxCheckBox * m_showExclusions
wxTextCtrl * m_uViaMinCtrl
wxCheckBox * m_cbRefillZones
wxStaticBitmap * m_warningsBadge
wxStaticText * m_ViaMinUnits
wxDataViewCtrl * m_footprintsDataView
#define NULL
wxBoxSizer * m_sizerButtons
wxButton * m_DeleteAllMarkersButton
DIALOG_DRC_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)
wxStaticText * m_MinWidthLabel
virtual void OnDRCItemSelected(wxDataViewEvent &event)
wxStaticText * m_MinWidthUnits
wxStaticText * m_ViaMinLabel
wxStaticText * m_uViaMinUnits
wxDataViewCtrl * m_unconnectedDataView
virtual void OnDeleteOneClick(wxCommandEvent &event)
wxButton * m_saveReport
virtual void OnRunDRCClick(wxCommandEvent &event)
wxStaticText * m_uViaMinLabel
wxDataViewCtrl * m_markerDataView
virtual void OnSaveReport(wxCommandEvent &event)
virtual void OnCancelClick(wxCommandEvent &event)
#define _(s)
Definition: 3d_actions.cpp:33
wxStaticBitmap * m_exclusionsBadge
wxCheckBox * m_showErrors
wxCheckBox * m_cbReportTracksToZonesErrors
wxCheckBox * m_showAll
virtual void OnChangingNotebookPage(wxNotebookEvent &event)
virtual void OnSeverity(wxCommandEvent &event)
wxTextCtrl * m_Messages