]>
Commit | Line | Data |
---|---|---|
34138703 JS |
1 | #ifndef _WX_MSGDLG_H_BASE_ |
2 | #define _WX_MSGDLG_H_BASE_ | |
c801d85f | 3 | |
e421922f VZ |
4 | #if wxUSE_MSGDLG |
5 | ||
2049ba38 | 6 | #if defined(__WXMSW__) |
c801d85f | 7 | #include "wx/msw/msgdlg.h" |
2049ba38 | 8 | #elif defined(__WXMOTIF__) |
bf6c2b35 | 9 | #include "wx/motif/msgdlg.h" |
2049ba38 | 10 | #elif defined(__WXGTK__) |
92afa2b1 | 11 | #include "wx/generic/msgdlgg.h" |
b4e76e0d RR |
12 | #elif defined(__WXQT__) |
13 | #include "wx/generic/msgdlgg.h" | |
34138703 | 14 | #elif defined(__WXMAC__) |
17dff81c | 15 | #include "wx/mac/msgdlg.h" |
1777b9bb DW |
16 | #elif defined(__WXPM__) |
17 | #include "wx/os2/msgdlg.h" | |
34138703 JS |
18 | #elif defined(__WXSTUBS__) |
19 | #include "wx/generic/msgdlgg.h" | |
c801d85f KB |
20 | #endif |
21 | ||
e421922f VZ |
22 | // ---------------------------------------------------------------------------- |
23 | // wxMessageBox: the simplest way to use wxMessageDialog | |
24 | // ---------------------------------------------------------------------------- | |
25 | ||
26 | int WXDLLEXPORT wxMessageBox(const wxString& message, | |
27 | const wxString& caption = wxMessageBoxCaptionStr, | |
28 | long style = wxOK | wxCENTRE, | |
29 | wxWindow *parent = NULL, | |
30 | int x = -1, int y = -1); | |
31 | ||
32 | #endif // wxUSE_MSGDLG | |
33 | ||
c801d85f | 34 | #endif |
34138703 | 35 | // _WX_MSGDLG_H_BASE_ |