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 m_htmlWinHelp->GoBack();
49 m_btnBack->Enable(m_htmlWinHelp->CanGoBack());
52 void m_btnBackOnButtonClick(wxCommandEvent& event) {
53 m_htmlWinHelp->HistoryBack();
54 m_btnBack->Enable(m_htmlWinHelp->HistoryCanBack());
57 void m_htmlWinHelpOnHtmlLinkClicked(wxHtmlLinkEvent& event) {
62 void RecalculateSize(
void);
68 const wxString& title = _(
"About OpenCPN"),
69 const wxPoint& pos = wxDefaultPosition,
70 const wxSize& size = wxSize(500, 300),
71 long style = wxCAPTION | wxCLOSE_BOX |
72 wxFRAME_FLOAT_ON_PARENT | wxFRAME_NO_TASKBAR |
73 wxRESIZE_BORDER | wxTAB_TRAVERSAL);