]> git.saurik.com Git - wxWidgets.git/blame - include/wx/msw/msgdlg.h
more changes to make wx compile without implicit wxString->char* conversion (for...
[wxWidgets.git] / include / wx / msw / msgdlg.h
CommitLineData
2bda0e17 1/////////////////////////////////////////////////////////////////////////////
e5b50758 2// Name: wx/msw/msgdlg.h
2bda0e17
KB
3// Purpose: wxMessageDialog class
4// Author: Julian Smart
5// Modified by:
6// Created: 01/02/97
7// RCS-ID: $Id$
bbcdf8bc 8// Copyright: (c) Julian Smart
598ddd96 9// Licence: wxWindows licence
2bda0e17
KB
10/////////////////////////////////////////////////////////////////////////////
11
bbcdf8bc
JS
12#ifndef _WX_MSGBOXDLG_H_
13#define _WX_MSGBOXDLG_H_
2bda0e17 14
2afb9e16 15class WXDLLEXPORT wxMessageDialog : public wxMessageDialogBase
2bda0e17 16{
2bda0e17 17public:
2afb9e16
VZ
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
2bda0e17 27
2afb9e16 28 virtual int ShowModal();
22f3361e 29
2afb9e16
VZ
30protected:
31 DECLARE_DYNAMIC_CLASS(wxMessageDialog)
22f3361e 32 DECLARE_NO_COPY_CLASS(wxMessageDialog)
2bda0e17
KB
33};
34
35
2afb9e16 36#endif // _WX_MSGBOXDLG_H_