]>
Commit | Line | Data |
---|---|---|
1 | #ifndef _WX_MSGDLG_H_BASE_ | |
2 | #define _WX_MSGDLG_H_BASE_ | |
3 | ||
4 | #include "wx/setup.h" | |
5 | ||
6 | #if wxUSE_MSGDLG | |
7 | ||
8 | #if defined(__WXUNIVERSAL__) || defined(__WXGPE__) | |
9 | #include "wx/generic/msgdlgg.h" | |
10 | #elif defined(__WXPALMOS__) | |
11 | #include "wx/palmos/msgdlg.h" | |
12 | #elif defined(__WXMSW__) | |
13 | #include "wx/msw/msgdlg.h" | |
14 | #elif defined(__WXMOTIF__) | |
15 | #include "wx/motif/msgdlg.h" | |
16 | #elif defined(__WXGTK__) && defined(__WXGTK20__) | |
17 | #include "wx/gtk/msgdlg.h" | |
18 | #elif defined(__WXGTK__) | |
19 | #include "wx/generic/msgdlgg.h" | |
20 | #elif defined(__WXMAC__) | |
21 | #include "wx/mac/msgdlg.h" | |
22 | #elif defined(__WXCOCOA__) | |
23 | #include "wx/generic/msgdlgg.h" | |
24 | #elif defined(__WXPM__) | |
25 | #include "wx/os2/msgdlg.h" | |
26 | #endif | |
27 | ||
28 | // ---------------------------------------------------------------------------- | |
29 | // wxMessageBox: the simplest way to use wxMessageDialog | |
30 | // ---------------------------------------------------------------------------- | |
31 | ||
32 | int WXDLLEXPORT wxMessageBox(const wxString& message, | |
33 | const wxString& caption = wxMessageBoxCaptionStr, | |
34 | long style = wxOK | wxCENTRE, | |
35 | wxWindow *parent = NULL, | |
36 | int x = wxDefaultCoord, int y = wxDefaultCoord); | |
37 | ||
38 | #endif // wxUSE_MSGDLG | |
39 | ||
40 | #endif | |
41 | // _WX_MSGDLG_H_BASE_ |