]>
Commit | Line | Data |
---|---|---|
1 | ///////////////////////////////////////////////////////////////////////////// | |
2 | // Name: wx/palmos/msgdlg.h | |
3 | // Purpose: wxMessageDialog class | |
4 | // Author: William Osborne - minimal working wxPalmOS port | |
5 | // Modified by: | |
6 | // Created: 10/13/04 | |
7 | // RCS-ID: $Id$ | |
8 | // Copyright: (c) William Osborne | |
9 | // Licence: wxWindows licence | |
10 | ///////////////////////////////////////////////////////////////////////////// | |
11 | ||
12 | #ifndef _WX_MSGBOXDLG_H_ | |
13 | #define _WX_MSGBOXDLG_H_ | |
14 | ||
15 | class WXDLLEXPORT wxMessageDialog : public wxMessageDialogBase | |
16 | { | |
17 | public: | |
18 | wxMessageDialog(wxWindow *parent, | |
19 | const wxString& message, | |
20 | const wxString& caption = wxMessageBoxCaptionStr, | |
21 | long style = wxOK|wxCENTRE, | |
22 | const wxPoint& WXUNUSED(pos) = wxDefaultPosition) | |
23 | : wxMessageDialogBase(parent, message, caption, style) | |
24 | { | |
25 | } | |
26 | ||
27 | virtual int ShowModal(void); | |
28 | ||
29 | DECLARE_DYNAMIC_CLASS(wxMessageDialog) | |
30 | DECLARE_NO_COPY_CLASS(wxMessageDialog) | |
31 | }; | |
32 | ||
33 | ||
34 | #endif | |
35 | // _WX_MSGBOXDLG_H_ |