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