mirror of https://github.com/BOINC/boinc.git
MGR: Add "More info ..." hyperlink to Diagnostic Log Flags dialog; clicking it takes you to the Log Flags wiki page.
This commit is contained in:
parent
24c5e2bdff
commit
cb2778ee75
|
@ -77,7 +77,7 @@ CDlgDiagnosticLogFlags::CDlgDiagnosticLogFlags(wxWindow* parent) :
|
|||
SetExtraStyle( GetExtraStyle() | wxWS_EX_VALIDATE_RECURSIVELY );
|
||||
|
||||
wxBoxSizer* bSizer1 = new wxBoxSizer( wxVERTICAL );
|
||||
m_headingSizer = new wxGridSizer( 1 );
|
||||
m_headingSizer = new wxFlexGridSizer( 1 );
|
||||
|
||||
m_headingText.Printf(
|
||||
_("These flags enable various types of diagnostic messages in the Event Log.")
|
||||
|
@ -87,6 +87,16 @@ CDlgDiagnosticLogFlags::CDlgDiagnosticLogFlags(wxWindow* parent) :
|
|||
|
||||
m_headingSizer->Add(m_heading, 1, wxLEFT | wxRIGHT, 25);
|
||||
|
||||
wxString helpURL = wxT("http://boinc.berkeley.edu/manager_links.php?target=notice&controlid=log_flags");
|
||||
|
||||
m_headingSizer->Add(
|
||||
new wxHyperlinkCtrl(
|
||||
this, wxID_ANY, _("More info ..."), helpURL,
|
||||
wxDefaultPosition, wxDefaultSize, wxHL_DEFAULT_STYLE
|
||||
),
|
||||
0, wxLEFT | wxRIGHT, 25
|
||||
);
|
||||
|
||||
bSizer1->AddSpacer(7);
|
||||
bSizer1->Add( m_headingSizer, 0, wxEXPAND | wxALL, 5 );
|
||||
bSizer1->AddSpacer(7);
|
||||
|
|
Loading…
Reference in New Issue