]> git.saurik.com Git - wxWidgets.git/blame - include/wx/os2/msgdlg.h
remove wxMSW-specific FindSuitableParent() and use GetParentForModalDialog() everywhe...
[wxWidgets.git] / include / wx / os2 / msgdlg.h
CommitLineData
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
53a2db12 16class WXDLLIMPEXP_CORE wxMessageDialog : public wxMessageDialogBase
0e320a79 17{
0e320a79 18public:
f6bcfd97
BP
19 wxMessageDialog( wxWindow* pParent
20 ,const wxString& rsMessage
21 ,const wxString& rsCaption = wxMessageBoxCaptionStr
22 ,long lStyle = wxOK|wxCENTRE
2afb9e16
VZ
23 ,const wxPoint& WXUNUSED(rPos) = wxDefaultPosition
24 )
25 : wxMessageDialogBase(pParent, rsMessage, rsCaption, lStyle)
26 {
27 }
0e320a79 28
f6bcfd97 29 int ShowModal(void);
0e320a79 30
f6bcfd97 31protected:
2afb9e16 32 DECLARE_DYNAMIC_CLASS(wxMessageDialog)
f6bcfd97
BP
33}; // end of CLASS wxMessageDialog
34
2afb9e16 35#endif // _WX_MSGBOXDLG_H_