]> git.saurik.com Git - wxWidgets.git/blob - include/wx/os2/msgdlg.h
cancel dragging if Esc is pressed (patch 1733657)
[wxWidgets.git] / include / wx / os2 / msgdlg.h
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 class WXDLLEXPORT wxMessageDialog : public wxMessageDialogBase
17 {
18 public:
19 wxMessageDialog( wxWindow* pParent
20 ,const wxString& rsMessage
21 ,const wxString& rsCaption = wxMessageBoxCaptionStr
22 ,long lStyle = wxOK|wxCENTRE
23 ,const wxPoint& WXUNUSED(rPos) = wxDefaultPosition
24 )
25 : wxMessageDialogBase(pParent, rsMessage, rsCaption, lStyle)
26 {
27 }
28
29 int ShowModal(void);
30
31 protected:
32 DECLARE_DYNAMIC_CLASS(wxMessageDialog)
33 }; // end of CLASS wxMessageDialog
34
35 #endif // _WX_MSGBOXDLG_H_