1 /////////////////////////////////////////////////////////////////////////////
2 // Name: wx/osx/msgdlg.h
3 // Purpose: wxMessageDialog class. Use generic version if no
4 // platform-specific implementation.
5 // Author: Stefan Csomor
8 // Copyright: (c) Stefan Csomor
9 // Licence: wxWindows licence
10 /////////////////////////////////////////////////////////////////////////////
12 #ifndef _WX_MSGBOXDLG_H_
13 #define _WX_MSGBOXDLG_H_
15 class WXDLLIMPEXP_CORE wxMessageDialog
: public wxMessageDialogBase
18 wxMessageDialog(wxWindow
*parent
,
19 const wxString
& message
,
20 const wxString
& caption
= wxMessageBoxCaptionStr
,
21 long style
= wxOK
|wxCENTRE
,
22 const wxPoint
& pos
= wxDefaultPosition
);
28 virtual int ShowModal();
31 virtual void ShowWindowModal();
32 virtual void ModalFinishedCallback(void* panel
, int resultCode
);
36 // not supported for message dialog
37 virtual void DoSetSize(int WXUNUSED(x
), int WXUNUSED(y
),
38 int WXUNUSED(width
), int WXUNUSED(height
),
39 int WXUNUSED(sizeFlags
) = wxSIZE_AUTO
) {}
42 void* ConstructNSAlert();
49 WX_NSObject m_sheetDelegate
;
51 DECLARE_DYNAMIC_CLASS(wxMessageDialog
)
54 #endif // _WX_MSGBOXDLG_H_