1999-07-29 05:11:30 +00:00
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
|
|
// Name: msgdlg.h
|
|
|
|
// 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$
|
|
|
|
// Copyright: (c) AUTHOR
|
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_
|
|
|
|
|
|
|
|
#include "wx/setup.h"
|
|
|
|
#include "wx/dialog.h"
|
|
|
|
|
|
|
|
/*
|
|
|
|
* Message box dialog
|
|
|
|
*/
|
|
|
|
|
2000-07-15 19:51:35 +00:00
|
|
|
class WXDLLEXPORT wxMessageDialog : public wxDialog
|
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;
|
|
|
|
long m_lDialogStyle;
|
|
|
|
wxWindow* m_pParent;
|
|
|
|
}; // end of CLASS wxMessageDialog
|
|
|
|
|
1999-07-29 05:11:30 +00:00
|
|
|
#endif
|
|
|
|
// _WX_MSGBOXDLG_H_
|