26#ifndef LOGGINGMESSAGEDIALOG_H
27#define LOGGINGMESSAGEDIALOG_H
41 wxString caption = wxMessageBoxCaptionStr,
42 long style = wxOK|wxCENTRE,
const wxPoint &pos = wxDefaultPosition):
43 wxMessageDialog (parent, message, caption, style, pos)
45 wxLogMessage(
"%s", message);
48 int ShowModal()
override;
50 static void SetNonInteractive(
bool nonInteractive =
true) { m_nonInteractive = nonInteractive; }
51 static bool IsNonInteractive() {
return m_nonInteractive; }
54 static bool m_nonInteractive;
57extern int LoggingMessageBox(
const wxString & message,
58 const wxString & caption = wxString(wxMessageBoxCaptionStr),
59 int style = wxOK|wxCENTRE,
60 wxWindow * parent = NULL,
61 int x = wxDefaultCoord,
62 int y = wxDefaultCoord
A message dialog that sends its contents to the log message sink.
Definition: LoggingMessageDialog.h:38