]>
Commit | Line | Data |
---|---|---|
34138703 JS |
1 | #ifndef _WX_MSGDLG_H_BASE_ |
2 | #define _WX_MSGDLG_H_BASE_ | |
c801d85f | 3 | |
13a7abf9 VS |
4 | #include "wx/setup.h" |
5 | ||
e421922f VZ |
6 | #if wxUSE_MSGDLG |
7 | ||
47e118ba | 8 | #if defined(__WXUNIVERSAL__) || defined(__WXGPE__) |
21709999 | 9 | #include "wx/generic/msgdlgg.h" |
4055ed82 | 10 | #elif defined(__WXPALMOS__) |
ffecfa5a | 11 | #include "wx/palmos/msgdlg.h" |
21709999 | 12 | #elif defined(__WXMSW__) |
c801d85f | 13 | #include "wx/msw/msgdlg.h" |
2049ba38 | 14 | #elif defined(__WXMOTIF__) |
bf6c2b35 | 15 | #include "wx/motif/msgdlg.h" |
13a7abf9 VS |
16 | #elif defined(__WXGTK__) && defined(__WXGTK20__) |
17 | #include "wx/gtk/msgdlg.h" | |
2049ba38 | 18 | #elif defined(__WXGTK__) |
92afa2b1 | 19 | #include "wx/generic/msgdlgg.h" |
34138703 | 20 | #elif defined(__WXMAC__) |
17dff81c | 21 | #include "wx/mac/msgdlg.h" |
0201182b DE |
22 | #elif defined(__WXCOCOA__) |
23 | #include "wx/generic/msgdlgg.h" | |
1777b9bb DW |
24 | #elif defined(__WXPM__) |
25 | #include "wx/os2/msgdlg.h" | |
c801d85f KB |
26 | #endif |
27 | ||
e421922f VZ |
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, | |
4e32eea1 | 36 | int x = wxDefaultCoord, int y = wxDefaultCoord); |
e421922f VZ |
37 | |
38 | #endif // wxUSE_MSGDLG | |
39 | ||
c801d85f | 40 | #endif |
34138703 | 41 | // _WX_MSGDLG_H_BASE_ |