2014-08-23 21:50:11 -04:00
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
|
|
// Name: wx/qt/msgdlg.h
|
|
|
|
// Author: Peter Most, Javier Torres
|
|
|
|
// Copyright: (c) Peter Most, Javier Torres
|
|
|
|
// Licence: wxWindows licence
|
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
|
|
|
|
|
|
#ifndef _WX_QT_MSGDLG_H_
|
|
|
|
#define _WX_QT_MSGDLG_H_
|
|
|
|
|
|
|
|
#include "wx/msgdlg.h"
|
|
|
|
|
2016-08-25 11:56:00 -04:00
|
|
|
class QMessageBox;
|
2014-08-23 21:50:11 -04:00
|
|
|
|
|
|
|
class WXDLLIMPEXP_CORE wxMessageDialog : public wxMessageDialogBase
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
wxMessageDialog(wxWindow *parent, const wxString& message,
|
|
|
|
const wxString& caption = wxMessageBoxCaptionStr,
|
|
|
|
long style = wxOK|wxCENTRE,
|
|
|
|
const wxPoint& pos = wxDefaultPosition);
|
|
|
|
virtual ~wxMessageDialog();
|
|
|
|
|
|
|
|
// Reimplemented to translate return codes from Qt to wx
|
2019-04-05 14:08:53 -04:00
|
|
|
virtual int ShowModal() wxOVERRIDE;
|
2018-12-21 09:55:33 -05:00
|
|
|
|
|
|
|
private:
|
|
|
|
wxDECLARE_DYNAMIC_CLASS_NO_COPY(wxMessageDialog);
|
2014-08-23 21:50:11 -04:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif // _WX_QT_MSGDLG_H_
|