]> git.saurik.com Git - wxWidgets.git/blame_incremental - include/wx/os2/msgdlg.h
Unrevert Cygwin changes after discussion. Cygwin will be unix with the new
[wxWidgets.git] / include / wx / os2 / msgdlg.h
... / ...
CommitLineData
1/////////////////////////////////////////////////////////////////////////////
2// Name: wx/os2/msgdlg.h
3// Purpose: wxMessageDialog class. Use generic version if no
4// platform-specific implementation.
5// Author: David Webster
6// Modified by:
7// Created: 10/12/99
8// RCS-ID: $Id$
9// Copyright: (c) David Webster
10// Licence: wxWindows licence
11/////////////////////////////////////////////////////////////////////////////
12
13#ifndef _WX_MSGBOXDLG_H_
14#define _WX_MSGBOXDLG_H_
15
16#include "wx/setup.h"
17#include "wx/dialog.h"
18
19/*
20 * Message box dialog
21 */
22
23class WXDLLEXPORT wxMessageDialog : public wxDialog, public wxMessageDialogBase
24{
25DECLARE_DYNAMIC_CLASS(wxMessageDialog)
26public:
27 wxMessageDialog( wxWindow* pParent
28 ,const wxString& rsMessage
29 ,const wxString& rsCaption = wxMessageBoxCaptionStr
30 ,long lStyle = wxOK|wxCENTRE
31 ,const wxPoint& rPos = wxDefaultPosition
32 );
33
34 int ShowModal(void);
35
36protected:
37 wxString m_sCaption;
38 wxString m_sMessage;
39 wxWindow* m_pParent;
40}; // end of CLASS wxMessageDialog
41
42#endif
43 // _WX_MSGBOXDLG_H_