]>
Commit | Line | Data |
---|---|---|
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 | // Copyright: (c) David Webster | |
9 | // Licence: wxWindows licence | |
10 | ///////////////////////////////////////////////////////////////////////////// | |
11 | ||
12 | #ifndef _WX_MSGBOXDLG_H_ | |
13 | #define _WX_MSGBOXDLG_H_ | |
14 | ||
15 | class WXDLLIMPEXP_CORE wxMessageDialog : public wxMessageDialogBase | |
16 | { | |
17 | public: | |
18 | wxMessageDialog( wxWindow* pParent | |
19 | ,const wxString& rsMessage | |
20 | ,const wxString& rsCaption = wxMessageBoxCaptionStr | |
21 | ,long lStyle = wxOK|wxCENTRE | |
22 | ,const wxPoint& WXUNUSED(rPos) = wxDefaultPosition | |
23 | ) | |
24 | : wxMessageDialogBase(pParent, rsMessage, rsCaption, lStyle) | |
25 | { | |
26 | } | |
27 | ||
28 | int ShowModal(void); | |
29 | ||
30 | protected: | |
31 | DECLARE_DYNAMIC_CLASS(wxMessageDialog) | |
32 | }; // end of CLASS wxMessageDialog | |
33 | ||
34 | #endif // _WX_MSGBOXDLG_H_ |