]> git.saurik.com Git - wxWidgets.git/blame - include/wx/msw/msgdlg.h
Compilation fix for VC++ 5 and 6
[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
12028905 15#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
2bda0e17
KB
16#pragma interface "msgdlg.h"
17#endif
18
19#include "wx/setup.h"
20#include "wx/dialog.h"
21
22/*
23 * Message box dialog
24 */
25
ef359b43 26extern WXDLLEXPORT_DATA(const wxChar*) wxMessageBoxCaptionStr;
2bda0e17 27
e5b50758 28class WXDLLEXPORT wxMessageDialog: public wxDialog, public wxMessageDialogBase
2bda0e17
KB
29{
30DECLARE_DYNAMIC_CLASS(wxMessageDialog)
31protected:
32 wxString m_caption;
33 wxString m_message;
2bda0e17
KB
34 wxWindow * m_parent;
35public:
36 wxMessageDialog(wxWindow *parent, const wxString& message, const wxString& caption = wxMessageBoxCaptionStr,
37 long style = wxOK|wxCENTRE, const wxPoint& pos = wxDefaultPosition);
38
39 int ShowModal(void);
22f3361e
VZ
40
41 DECLARE_NO_COPY_CLASS(wxMessageDialog)
2bda0e17
KB
42};
43
44
2bda0e17 45#endif
bbcdf8bc 46 // _WX_MSGBOXDLG_H_