]> git.saurik.com Git - wxWidgets.git/blame_incremental - include/wx/msw/msgdlg.h
More border rationalisation. GetDefaultBorder is now mostly defined in base class...
[wxWidgets.git] / include / wx / msw / msgdlg.h
... / ...
CommitLineData
1/////////////////////////////////////////////////////////////////////////////
2// Name: wx/msw/msgdlg.h
3// Purpose: wxMessageDialog class
4// Author: Julian Smart
5// Modified by:
6// Created: 01/02/97
7// RCS-ID: $Id$
8// Copyright: (c) Julian Smart
9// Licence: wxWindows licence
10/////////////////////////////////////////////////////////////////////////////
11
12#ifndef _WX_MSGBOXDLG_H_
13#define _WX_MSGBOXDLG_H_
14
15class WXDLLEXPORT wxMessageDialog : public wxMessageDialogBase
16{
17public:
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
28 virtual int ShowModal();
29
30protected:
31 DECLARE_DYNAMIC_CLASS(wxMessageDialog)
32 DECLARE_NO_COPY_CLASS(wxMessageDialog)
33};
34
35
36#endif // _WX_MSGBOXDLG_H_