home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / wxos2240.zip / wxWindows-2.4.0 / include / wx / msgdlg.h < prev    next >
C/C++ Source or Header  |  2001-08-25  |  1KB  |  36 lines

  1. #ifndef _WX_MSGDLG_H_BASE_
  2. #define _WX_MSGDLG_H_BASE_
  3.  
  4. #if wxUSE_MSGDLG
  5.  
  6. #if defined(__WXUNIVERSAL__)
  7. #include "wx/generic/msgdlgg.h"
  8. #elif defined(__WXMSW__)
  9. #include "wx/msw/msgdlg.h"
  10. #elif defined(__WXMOTIF__)
  11. #include "wx/motif/msgdlg.h"
  12. #elif defined(__WXGTK__)
  13. #include "wx/generic/msgdlgg.h"
  14. #elif defined(__WXMAC__)
  15. #include "wx/mac/msgdlg.h"
  16. #elif defined(__WXPM__)
  17. #include "wx/os2/msgdlg.h"
  18. #elif defined(__WXSTUBS__)
  19. #include "wx/generic/msgdlgg.h"
  20. #endif
  21.  
  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.  
  34. #endif
  35.     // _WX_MSGDLG_H_BASE_
  36.