]> git.saurik.com Git - wxWidgets.git/blame_incremental - include/wx/os2/msgdlg.h
safe macro expansion
[wxWidgets.git] / include / wx / os2 / msgdlg.h
... / ...
CommitLineData
1/////////////////////////////////////////////////////////////////////////////
2// Name: 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) AUTHOR
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
23WXDLLEXPORT_DATA(extern const char*) wxMessageBoxCaptionStr;
24
25class WXDLLEXPORT wxMessageDialog : public wxDialog
26{
27DECLARE_DYNAMIC_CLASS(wxMessageDialog)
28public:
29 wxMessageDialog( wxWindow* pParent
30 ,const wxString& rsMessage
31 ,const wxString& rsCaption = wxMessageBoxCaptionStr
32 ,long lStyle = wxOK|wxCENTRE
33 ,const wxPoint& rPos = wxDefaultPosition
34 );
35
36 int ShowModal(void);
37
38protected:
39 wxString m_sCaption;
40 wxString m_sMessage;
41 long m_lDialogStyle;
42 wxWindow* m_pParent;
43}; // end of CLASS wxMessageDialog
44
45#endif
46 // _WX_MSGBOXDLG_H_