53 if( event.GetLinkInfo().GetHref() == wxT(
"boardsetup" ) )
55 else if( event.GetLinkInfo().GetHref() == wxT(
"drc" ) )
62 wxPanel* panel =
new wxPanel(
m_notebook, wxID_ANY, wxDefaultPosition, wxDefaultSize,
64 wxBoxSizer* sizer =
new wxBoxSizer( wxVERTICAL );
68 wxHW_SCROLLBAR_AUTO | wxBORDER_SIMPLE );
70 sizer->Add( reporter, 1, wxEXPAND | wxALL, 5 );
71 panel->SetSizer( sizer );
76 reporter->Connect( wxEVT_COMMAND_HTML_LINK_CLICKED,
Class DIALOG_CONSTRAINTS_REPORTER_BASE.
void FinishInitialization()
WX_HTML_REPORT_BOX * AddPage(const wxString &pageTitle)
DIALOG_CONSTRAINTS_REPORTER(PCB_EDIT_FRAME *aParent)
void OnErrorLinkClicked(wxHtmlLinkEvent &event)
void SetupStandardButtons(std::map< int, wxString > aLabels={})
void finishDialogSettings()
In all dialogs, we must call the same functions to fix minimal dlg size, the default position and per...
static TOOL_ACTION runDRC
The main frame for Pcbnew.
void ShowBoardSetupDialog(const wxString &aInitialPage=wxEmptyString)
EDA_UNITS GetUserUnits() const
A slimmed down version of WX_HTML_REPORT_PANEL.
void SetUnits(EDA_UNITS aUnits)