]> git.saurik.com Git - wxWidgets.git/blame - include/wx/osx/carbon/msgdlg.h
moving embedding to common API
[wxWidgets.git] / include / wx / osx / carbon / msgdlg.h
CommitLineData
5c6eb3a8
SC
1/////////////////////////////////////////////////////////////////////////////
2// Name: wx/mac/carbon/msgdlg.h
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
10// Licence: wxWindows licence
11/////////////////////////////////////////////////////////////////////////////
12
13#ifndef _WX_MSGBOXDLG_H_
14#define _WX_MSGBOXDLG_H_
15
54f254a6 16class WXDLLIMPEXP_CORE wxMessageDialog : public wxMessageDialogWithCustomLabels
5c6eb3a8
SC
17{
18public:
19 wxMessageDialog(wxWindow *parent,
20 const wxString& message,
21 const wxString& caption = wxMessageBoxCaptionStr,
22 long style = wxOK|wxCENTRE,
23 const wxPoint& pos = wxDefaultPosition);
24
25 virtual int ShowModal();
26
5c6eb3a8
SC
27protected:
28 // not supported for message dialog
29 virtual void DoSetSize(int WXUNUSED(x), int WXUNUSED(y),
30 int WXUNUSED(width), int WXUNUSED(height),
31 int WXUNUSED(sizeFlags) = wxSIZE_AUTO) {}
32
5c6eb3a8
SC
33 DECLARE_DYNAMIC_CLASS(wxMessageDialog)
34};
35
36#endif // _WX_MSGBOXDLG_H_