msgdlg.h 1.1 KB

12345678910111213141516171819202122232425262728293031323334
  1. /////////////////////////////////////////////////////////////////////////////
  2. // Name: wx/os2/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. // Copyright: (c) David Webster
  9. // Licence: wxWindows licence
  10. /////////////////////////////////////////////////////////////////////////////
  11. #ifndef _WX_MSGBOXDLG_H_
  12. #define _WX_MSGBOXDLG_H_
  13. class WXDLLIMPEXP_CORE wxMessageDialog : public wxMessageDialogBase
  14. {
  15. public:
  16. wxMessageDialog( wxWindow* pParent
  17. ,const wxString& rsMessage
  18. ,const wxString& rsCaption = wxMessageBoxCaptionStr
  19. ,long lStyle = wxOK|wxCENTRE
  20. ,const wxPoint& WXUNUSED(rPos) = wxDefaultPosition
  21. )
  22. : wxMessageDialogBase(pParent, rsMessage, rsCaption, lStyle)
  23. {
  24. }
  25. int ShowModal(void);
  26. protected:
  27. DECLARE_DYNAMIC_CLASS(wxMessageDialog)
  28. }; // end of CLASS wxMessageDialog
  29. #endif // _WX_MSGBOXDLG_H_