]> git.saurik.com Git - wxWidgets.git/blame - include/wx/msgdlg.h
added wxGet/SetWindowProc/UserData()
[wxWidgets.git] / include / wx / msgdlg.h
CommitLineData
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
21709999
JS
8#if defined(__WXUNIVERSAL__)
9#include "wx/generic/msgdlgg.h"
10#elif defined(__WXMSW__)
c801d85f 11#include "wx/msw/msgdlg.h"
2049ba38 12#elif defined(__WXMOTIF__)
bf6c2b35 13#include "wx/motif/msgdlg.h"
13a7abf9
VS
14#elif defined(__WXGTK__) && defined(__WXGTK20__)
15#include "wx/gtk/msgdlg.h"
2049ba38 16#elif defined(__WXGTK__)
92afa2b1 17#include "wx/generic/msgdlgg.h"
34138703 18#elif defined(__WXMAC__)
17dff81c 19#include "wx/mac/msgdlg.h"
0201182b
DE
20#elif defined(__WXCOCOA__)
21#include "wx/generic/msgdlgg.h"
1777b9bb
DW
22#elif defined(__WXPM__)
23#include "wx/os2/msgdlg.h"
c801d85f
KB
24#endif
25
e421922f
VZ
26// ----------------------------------------------------------------------------
27// wxMessageBox: the simplest way to use wxMessageDialog
28// ----------------------------------------------------------------------------
29
30int WXDLLEXPORT wxMessageBox(const wxString& message,
31 const wxString& caption = wxMessageBoxCaptionStr,
32 long style = wxOK | wxCENTRE,
33 wxWindow *parent = NULL,
34 int x = -1, int y = -1);
35
36#endif // wxUSE_MSGDLG
37
c801d85f 38#endif
34138703 39 // _WX_MSGDLG_H_BASE_