69 using OCPN_AlertDialog::Create;
70 bool Create(
int target_mmsi, wxWindow* parent,
AisDecoder* pdecoder,
71 bool b_jumpto,
bool b_createWP,
bool b_ack,
72 wxWindowID
id = wxID_ANY,
73 const wxString& caption = _(
"OpenCPN AIS Alert"),
74 const wxPoint& pos = wxDefaultPosition,
75 const wxSize& size = wxDefaultSize,
76 long style = wxCAPTION | wxRESIZE_BORDER | wxSYSTEM_MENU);
79 int Get_Dialog_MMSI(
void) {
return m_target_mmsi; }
81 void RecalculateSize(
void);
83 wxDateTime dtAlertExpireTime;
86 void CreateControls();
87 bool GetAlertText(
void);
88 void SetColorScheme(
void);
89 void OnClose(wxCloseEvent& event);
90 void OnIdAckClick(wxCommandEvent& event);
91 void OnMove(wxMoveEvent& event);
92 void OnSize(wxSizeEvent& event);
93 void OnIdSilenceClick(wxCommandEvent& event);
94 void OnIdJumptoClick(wxCommandEvent& event);
95 void OnIdCreateWPClick(wxCommandEvent& event);
98 wxHtmlWindow* m_pAlertTextCtl;
102 wxString m_alert_text;