]> git.saurik.com Git - wxWidgets.git/blame - include/wx/mac/classic/msgdlg.h
compilation fix: wxGenericCollapsiblePane needs wxButton and wxStaticLine
[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
b73e73f9 16#include "wx/defs.h"
52479aef
SC
17#include "wx/dialog.h"
18
19/*
20 * Message box dialog
21 */
22
63ec432b 23WXDLLEXPORT_DATA(extern const wxChar) wxMessageBoxCaptionStr[];
52479aef 24
e5b50758 25class WXDLLEXPORT wxMessageDialog: public wxDialog, public wxMessageDialogBase
52479aef
SC
26{
27 DECLARE_DYNAMIC_CLASS(wxMessageDialog)
e5b50758 28
52479aef
SC
29protected:
30 wxString m_caption;
31 wxString m_message;
52479aef
SC
32 wxWindow * m_parent;
33public:
34 wxMessageDialog(wxWindow *parent,
35 const wxString& message,
36 const wxString& caption = wxMessageBoxCaptionStr,
37 long style = wxOK|wxCENTRE,
38 const wxPoint& pos = wxDefaultPosition);
39
40 int ShowModal();
e5b50758 41
52479aef
SC
42 // not supported for message dialog, RR
43 virtual void DoSetSize(int WXUNUSED(x), int WXUNUSED(y),
44 int WXUNUSED(width), int WXUNUSED(height),
45 int WXUNUSED(sizeFlags) = wxSIZE_AUTO) {}
46
47};
48
49#endif
50 // _WX_MSGBOXDLG_H_