]> git.saurik.com Git - wxWidgets.git/blame - include/wx/mac/classic/msgdlg.h
wxHelpController now wxCHMHelpController on Windows
[wxWidgets.git] / include / wx / mac / classic / msgdlg.h
CommitLineData
52479aef 1/////////////////////////////////////////////////////////////////////////////
e5b50758 2// Name: wx/mac/classic/msgdlg.h
52479aef
SC
3// Purpose: wxMessageDialog class. Use generic version if no
4// platform-specific implementation.
5// Author: Stefan Csomor
6// Modified by:
7// Created: 1998-01-01
8// RCS-ID: $Id$
9// Copyright: (c) Stefan Csomor
65571936 10// Licence: wxWindows licence
52479aef
SC
11/////////////////////////////////////////////////////////////////////////////
12
13#ifndef _WX_MSGBOXDLG_H_
14#define _WX_MSGBOXDLG_H_
15
16#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
17#pragma interface "msgdlg.h"
18#endif
19
20#include "wx/setup.h"
21#include "wx/dialog.h"
22
23/*
24 * Message box dialog
25 */
26
27WXDLLEXPORT_DATA(extern const wxChar*) wxMessageBoxCaptionStr;
28
e5b50758 29class WXDLLEXPORT wxMessageDialog: public wxDialog, public wxMessageDialogBase
52479aef
SC
30{
31 DECLARE_DYNAMIC_CLASS(wxMessageDialog)
e5b50758 32
52479aef
SC
33protected:
34 wxString m_caption;
35 wxString m_message;
52479aef
SC
36 wxWindow * m_parent;
37public:
38 wxMessageDialog(wxWindow *parent,
39 const wxString& message,
40 const wxString& caption = wxMessageBoxCaptionStr,
41 long style = wxOK|wxCENTRE,
42 const wxPoint& pos = wxDefaultPosition);
43
44 int ShowModal();
e5b50758 45
52479aef
SC
46 // not supported for message dialog, RR
47 virtual void DoSetSize(int WXUNUSED(x), int WXUNUSED(y),
48 int WXUNUSED(width), int WXUNUSED(height),
49 int WXUNUSED(sizeFlags) = wxSIZE_AUTO) {}
50
51};
52
53#endif
54 // _WX_MSGBOXDLG_H_