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