Debian Codegraph @

HelpPlugin/HelpPluginMessageDlg.cpp

raw
1 #include "HelpPluginMessageDlg.h"
2 #include "windowattrmanager.h"
3
4 HelpPluginMessageDlg::HelpPluginMessageDlg(wxWindow* parent)
5 : HelpPluginMessageBaseDlg(parent)
6 {
7 #ifdef __WXOSX__
8 m_staticText->SetLabel(
9 _("The Help plugin uses 'Dash' for displaying the offline documentation\nPlease click the link below to "
10 "download and install Dash"));
11 m_hyperLink->SetLabel(_("Go to Dash website"));
12 m_hyperLink->SetURL("https://kapeli.com/dash");
13 #else
14 m_staticText->SetLabel(
15 _("The Help plugin uses 'Zeal' for displaying the offline documentation\nPlease click the link below to "
16 "download and install Zeal"));
17 m_hyperLink->SetLabel(_("Go to Zeal website"));
18 m_hyperLink->SetURL("http://zealdocs.org/");
19 #endif
20
21 GetSizer()->Fit(this);
22 CentreOnParent();
23 }
24
25 HelpPluginMessageDlg::~HelpPluginMessageDlg() {}