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