1998-05-20 10:12:05 -04:00
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
2005-03-11 10:34:42 -05:00
|
|
|
// Name: wx/msw/msgdlg.h
|
1998-05-20 10:12:05 -04:00
|
|
|
// Purpose: wxMessageDialog class
|
|
|
|
// Author: Julian Smart
|
|
|
|
// Modified by:
|
|
|
|
// Created: 01/02/97
|
|
|
|
// RCS-ID: $Id$
|
1998-08-07 19:52:45 -04:00
|
|
|
// Copyright: (c) Julian Smart
|
2004-08-30 06:18:55 -04:00
|
|
|
// Licence: wxWindows licence
|
1998-05-20 10:12:05 -04:00
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
|
|
|
1998-08-07 19:52:45 -04:00
|
|
|
#ifndef _WX_MSGBOXDLG_H_
|
|
|
|
#define _WX_MSGBOXDLG_H_
|
1998-05-20 10:12:05 -04:00
|
|
|
|
2006-01-26 12:20:50 -05:00
|
|
|
#include "wx/defs.h"
|
1998-05-20 10:12:05 -04:00
|
|
|
#include "wx/dialog.h"
|
|
|
|
|
|
|
|
/*
|
|
|
|
* Message box dialog
|
|
|
|
*/
|
|
|
|
|
2006-01-16 09:59:55 -05:00
|
|
|
extern WXDLLEXPORT_DATA(const wxChar) wxMessageBoxCaptionStr[];
|
1998-05-20 10:12:05 -04:00
|
|
|
|
2005-03-11 10:34:42 -05:00
|
|
|
class WXDLLEXPORT wxMessageDialog: public wxDialog, public wxMessageDialogBase
|
1998-05-20 10:12:05 -04:00
|
|
|
{
|
|
|
|
DECLARE_DYNAMIC_CLASS(wxMessageDialog)
|
|
|
|
protected:
|
|
|
|
wxString m_caption;
|
|
|
|
wxString m_message;
|
|
|
|
wxWindow * m_parent;
|
|
|
|
public:
|
|
|
|
wxMessageDialog(wxWindow *parent, const wxString& message, const wxString& caption = wxMessageBoxCaptionStr,
|
|
|
|
long style = wxOK|wxCENTRE, const wxPoint& pos = wxDefaultPosition);
|
|
|
|
|
|
|
|
int ShowModal(void);
|
2003-01-02 18:38:11 -05:00
|
|
|
|
|
|
|
DECLARE_NO_COPY_CLASS(wxMessageDialog)
|
1998-05-20 10:12:05 -04:00
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
#endif
|
1998-08-07 19:52:45 -04:00
|
|
|
// _WX_MSGBOXDLG_H_
|