From 06304700bae080d4e295c82dbda2907e84e22857 Mon Sep 17 00:00:00 2001 From: Rom Walton Date: Fri, 13 Mar 2015 12:15:37 -0400 Subject: [PATCH] MGR: Remove context-sensitive help button --- clientgui/DlgEventLog.cpp | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/clientgui/DlgEventLog.cpp b/clientgui/DlgEventLog.cpp index 5cc7df16d3..18fa8d2089 100644 --- a/clientgui/DlgEventLog.cpp +++ b/clientgui/DlgEventLog.cpp @@ -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(); }