mirror of https://github.com/BOINC/boinc.git
MGR: Remove context-sensitive help button
This commit is contained in:
parent
4ba139e6c3
commit
06304700ba
|
@ -336,20 +336,6 @@ void CDlgEventLog::CreateControls()
|
|||
wxButton* itemButton44 = new wxButton(this, wxID_OK, _("&Close"), wxDefaultPosition, wxDefaultSize);
|
||||
itemBoxSizer4->Add(itemButton44, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5);
|
||||
|
||||
#ifndef __WXMAC__
|
||||
wxContextHelpButton* itemButton45 = new wxContextHelpButton(this);
|
||||
itemBoxSizer4->Add(itemButton45, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5);
|
||||
#else
|
||||
wxButton* itemButton45 = new wxButton(this, ID_SIMPLE_HELP, _("&Help"), wxDefaultPosition, wxDefaultSize);
|
||||
wxString helpTip;
|
||||
helpTip.Printf(_("Get help with %s"), pSkinAdvanced->GetApplicationShortName().c_str());
|
||||
itemButton45->SetHelpText(helpTip);
|
||||
#ifdef wxUSE_TOOLTIPS
|
||||
itemButton45->SetToolTip(helpTip);
|
||||
#endif
|
||||
itemBoxSizer4->Add(itemButton45, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5);
|
||||
#endif
|
||||
|
||||
SetFilterButtonText();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue