OpenCPN Partial API docs
Loading...
Searching...
No Matches
TimedMessageBox Class Reference
Inheritance diagram for TimedMessageBox:

Public Member Functions

 TimedMessageBox (wxWindow *parent, const wxString &message, const wxString &caption=_T("Message box"), long style=wxOK|wxCANCEL, int timeout_sec=-1, const wxPoint &pos=wxDefaultPosition)
 
int GetRetVal (void)
 
void OnTimer (wxTimerEvent &evt)
 

Public Attributes

wxTimer m_timer
 
OCPNMessageDialogdlg
 
int ret_val
 

Detailed Description

Definition at line 61 of file gui_lib.h.

Constructor & Destructor Documentation

◆ TimedMessageBox()

TimedMessageBox::TimedMessageBox ( wxWindow *  parent,
const wxString &  message,
const wxString &  caption = _T("Message box"),
long  style = wxOK | wxCANCEL,
int  timeout_sec = -1,
const wxPoint &  pos = wxDefaultPosition 
)

Definition at line 243 of file gui_lib.cpp.

◆ ~TimedMessageBox()

TimedMessageBox::~TimedMessageBox ( )

Definition at line 265 of file gui_lib.cpp.

Member Function Documentation

◆ GetRetVal()

int TimedMessageBox::GetRetVal ( void  )
inline

Definition at line 68 of file gui_lib.h.

◆ OnTimer()

void TimedMessageBox::OnTimer ( wxTimerEvent &  evt)

Definition at line 267 of file gui_lib.cpp.

Member Data Documentation

◆ dlg

OCPNMessageDialog* TimedMessageBox::dlg

Definition at line 72 of file gui_lib.h.

◆ m_timer

wxTimer TimedMessageBox::m_timer

Definition at line 71 of file gui_lib.h.

◆ ret_val

int TimedMessageBox::ret_val

Definition at line 73 of file gui_lib.h.


The documentation for this class was generated from the following files: