25 #ifndef _ABOUTFRAMEIMPL_H_
26 #define _ABOUTFRAMEIMPL_H_
28 #include "AboutFrame.h"
32 void AboutFrameOnClose(wxCloseEvent& event) {
34 SetSize(GetMinSize());
38 void OnLinkDonate(wxHyperlinkEvent& event) {
event.Skip(); }
39 void OnLinkGetInvolved(wxHyperlinkEvent& event) {
event.Skip(); }
40 void OnLinkLogfile(wxHyperlinkEvent& event) {
event.Skip(); }
41 void OnLinkConfigfile(wxHyperlinkEvent& event) {
event.Skip(); }
42 void OnLinkHelp(wxHyperlinkEvent& event);
43 void OnLinkLicense(wxHyperlinkEvent& event);
44 void OnLinkAuthors(wxHyperlinkEvent& event);
45 void AboutFrameOnActivate(wxActivateEvent& event);
46 #if wxUSE_WEBVIEW && defined(HAVE_WEBVIEW)
47 void m_btnBackOnButtonClick(wxCommandEvent& event) {
48 wxString locn = m_htmlWinHelp->GetCurrentURL();
49 if (!locn.Contains(
"toc_flat")) {
50 m_htmlWinHelp->GoBack();
51 m_btnBack->Enable(m_htmlWinHelp->CanGoBack());
55 void m_btnBackOnButtonClick(wxCommandEvent& event) {
56 m_htmlWinHelp->HistoryBack();
57 m_btnBack->Enable(m_htmlWinHelp->HistoryCanBack());
60 void m_htmlWinHelpOnHtmlLinkClicked(wxHtmlLinkEvent& event) {
65 void RecalculateSize(
void);
71 const wxString& title = _(
"About OpenCPN"),
72 const wxPoint& pos = wxDefaultPosition,
73 const wxSize& size = wxSize(500, 300),
74 long style = wxCAPTION | wxCLOSE_BOX |
75 wxFRAME_FLOAT_ON_PARENT | wxFRAME_NO_TASKBAR |
76 wxRESIZE_BORDER | wxTAB_TRAVERSAL);