]>
git.saurik.com Git - wxWidgets.git/blob - include/wx/msgdlg.h
1 #ifndef _WX_MSGDLG_H_BASE_
2 #define _WX_MSGDLG_H_BASE_
8 #if defined(__WXUNIVERSAL__) || defined(__WXGPE__)
9 #include "wx/generic/msgdlgg.h"
10 #elif defined(__WXMSW__)
11 #include "wx/msw/msgdlg.h"
12 #elif defined(__WXMOTIF__)
13 #include "wx/motif/msgdlg.h"
14 #elif defined(__WXGTK__) && defined(__WXGTK20__)
15 #include "wx/gtk/msgdlg.h"
16 #elif defined(__WXGTK__)
17 #include "wx/generic/msgdlgg.h"
18 #elif defined(__WXMAC__)
19 #include "wx/mac/msgdlg.h"
20 #elif defined(__WXCOCOA__)
21 #include "wx/generic/msgdlgg.h"
22 #elif defined(__WXPM__)
23 #include "wx/os2/msgdlg.h"
26 // ----------------------------------------------------------------------------
27 // wxMessageBox: the simplest way to use wxMessageDialog
28 // ----------------------------------------------------------------------------
30 int WXDLLEXPORT
wxMessageBox(const wxString
& message
,
31 const wxString
& caption
= wxMessageBoxCaptionStr
,
32 long style
= wxOK
| wxCENTRE
,
33 wxWindow
*parent
= NULL
,
34 int x
= wxDefaultCoord
, int y
= wxDefaultCoord
);
36 #endif // wxUSE_MSGDLG