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