]> git.saurik.com Git - wxWidgets.git/blame - include/wx/msw/msgdlg.h
more warning fixes about empty if statement in helper classes in release build
[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
b73e73f9 15#include "wx/defs.h"
2bda0e17
KB
16#include "wx/dialog.h"
17
18/*
19 * Message box dialog
20 */
21
63ec432b 22extern WXDLLEXPORT_DATA(const wxChar) wxMessageBoxCaptionStr[];
2bda0e17 23
e5b50758 24class WXDLLEXPORT wxMessageDialog: public wxDialog, public wxMessageDialogBase
2bda0e17
KB
25{
26DECLARE_DYNAMIC_CLASS(wxMessageDialog)
27protected:
28 wxString m_caption;
29 wxString m_message;
2bda0e17
KB
30 wxWindow * m_parent;
31public:
32 wxMessageDialog(wxWindow *parent, const wxString& message, const wxString& caption = wxMessageBoxCaptionStr,
33 long style = wxOK|wxCENTRE, const wxPoint& pos = wxDefaultPosition);
34
35 int ShowModal(void);
22f3361e
VZ
36
37 DECLARE_NO_COPY_CLASS(wxMessageDialog)
2bda0e17
KB
38};
39
40
2bda0e17 41#endif
bbcdf8bc 42 // _WX_MSGBOXDLG_H_