1999-07-29 05:11:30 +00:00
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
2005-03-11 15:34:42 +00:00
|
|
|
// Name: wx/os2/msgdlg.h
|
1999-07-29 05:11:30 +00:00
|
|
|
// Purpose: wxMessageDialog class. Use generic version if no
|
|
|
|
// platform-specific implementation.
|
1999-10-12 22:49:24 +00:00
|
|
|
// Author: David Webster
|
1999-07-29 05:11:30 +00:00
|
|
|
// Modified by:
|
1999-10-12 22:49:24 +00:00
|
|
|
// Created: 10/12/99
|
1999-07-29 05:11:30 +00:00
|
|
|
// RCS-ID: $Id$
|
2005-03-11 15:34:42 +00:00
|
|
|
// Copyright: (c) David Webster
|
2004-05-23 20:53:33 +00:00
|
|
|
// Licence: wxWindows licence
|
1999-07-29 05:11:30 +00:00
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
|
|
|
|
|
|
#ifndef _WX_MSGBOXDLG_H_
|
|
|
|
#define _WX_MSGBOXDLG_H_
|
|
|
|
|
2006-01-26 17:20:50 +00:00
|
|
|
#include "wx/defs.h"
|
1999-07-29 05:11:30 +00:00
|
|
|
#include "wx/dialog.h"
|
|
|
|
|
|
|
|
/*
|
|
|
|
* Message box dialog
|
|
|
|
*/
|
|
|
|
|
2005-03-11 15:34:42 +00:00
|
|
|
class WXDLLEXPORT wxMessageDialog : public wxDialog, public wxMessageDialogBase
|
1999-07-29 05:11:30 +00:00
|
|
|
{
|
|
|
|
DECLARE_DYNAMIC_CLASS(wxMessageDialog)
|
|
|
|
public:
|
2000-07-15 19:51:35 +00:00
|
|
|
wxMessageDialog( wxWindow* pParent
|
|
|
|
,const wxString& rsMessage
|
|
|
|
,const wxString& rsCaption = wxMessageBoxCaptionStr
|
|
|
|
,long lStyle = wxOK|wxCENTRE
|
|
|
|
,const wxPoint& rPos = wxDefaultPosition
|
|
|
|
);
|
1999-07-29 05:11:30 +00:00
|
|
|
|
2000-07-15 19:51:35 +00:00
|
|
|
int ShowModal(void);
|
1999-07-29 05:11:30 +00:00
|
|
|
|
2000-07-15 19:51:35 +00:00
|
|
|
protected:
|
|
|
|
wxString m_sCaption;
|
|
|
|
wxString m_sMessage;
|
|
|
|
wxWindow* m_pParent;
|
|
|
|
}; // end of CLASS wxMessageDialog
|
|
|
|
|
1999-07-29 05:11:30 +00:00
|
|
|
#endif
|
|
|
|
// _WX_MSGBOXDLG_H_
|