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

  1. /////////////////////////////////////////////////////////////////////////////
  2. // Name:        msgdlg.h
  3. // Purpose:     wxMessageDialog class. Use generic version if no
  4. //              platform-specific implementation.
  5. // Author:      David Webster
  6. // Modified by:
  7. // Created:     10/12/99
  8. // RCS-ID:      $Id: MSGDLG.H,v 1.6 2002/01/09 23:16:22 DW Exp $
  9. // Copyright:   (c) AUTHOR
  10. // Licence:     wxWindows licence
  11. /////////////////////////////////////////////////////////////////////////////
  12.  
  13. #ifndef _WX_MSGBOXDLG_H_
  14. #define _WX_MSGBOXDLG_H_
  15.  
  16. #include "wx/setup.h"
  17. #include "wx/dialog.h"
  18.  
  19. /*
  20.  * Message box dialog
  21.  */
  22.  
  23. class WXDLLEXPORT wxMessageDialog : public wxDialog
  24. {
  25. DECLARE_DYNAMIC_CLASS(wxMessageDialog)
  26. public:
  27.     wxMessageDialog( wxWindow*       pParent
  28.                     ,const wxString& rsMessage
  29.                     ,const wxString& rsCaption = wxMessageBoxCaptionStr
  30.                     ,long            lStyle = wxOK|wxCENTRE
  31.                     ,const wxPoint&  rPos = wxDefaultPosition
  32.                    );
  33.  
  34.     int ShowModal(void);
  35.  
  36. protected:
  37.     wxString                        m_sCaption;
  38.     wxString                        m_sMessage;
  39.     long                            m_lDialogStyle;
  40.     wxWindow*                       m_pParent;
  41. }; // end of CLASS wxMessageDialog
  42.  
  43. #endif
  44.     // _WX_MSGBOXDLG_H_
  45.