]> git.saurik.com Git - wxWidgets.git/blame - include/wx/palmos/msgdlg.h
Expand tabs
[wxWidgets.git] / include / wx / palmos / msgdlg.h
CommitLineData
ffecfa5a 1/////////////////////////////////////////////////////////////////////////////
e1d63b79 2// Name: wx/palmos/msgdlg.h
ffecfa5a 3// Purpose: wxMessageDialog class
e1d63b79 4// Author: William Osborne - minimal working wxPalmOS port
ffecfa5a
JS
5// Modified by:
6// Created: 10/13/04
e1d63b79 7// RCS-ID: $Id$
ffecfa5a
JS
8// Copyright: (c) William Osborne
9// Licence: wxWindows licence
10/////////////////////////////////////////////////////////////////////////////
11
12#ifndef _WX_MSGBOXDLG_H_
13#define _WX_MSGBOXDLG_H_
14
15#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
16#pragma interface "msgdlg.h"
17#endif
18
19#include "wx/setup.h"
20#include "wx/dialog.h"
21
22/*
23 * Message box dialog
24 */
25
26WXDLLEXPORT_DATA(extern const wxChar*) wxMessageBoxCaptionStr;
27
e5b50758 28class WXDLLEXPORT wxMessageDialog: public wxDialog, public wxMessageDialogBase
ffecfa5a
JS
29{
30DECLARE_DYNAMIC_CLASS(wxMessageDialog)
31protected:
32 wxString m_caption;
33 wxString m_message;
ffecfa5a
JS
34 wxWindow * m_parent;
35public:
36 wxMessageDialog(wxWindow *parent, const wxString& message, const wxString& caption = wxMessageBoxCaptionStr,
37 long style = wxOK|wxCENTRE, const wxPoint& pos = wxDefaultPosition);
38
39 int ShowModal(void);
40
41 DECLARE_NO_COPY_CLASS(wxMessageDialog)
42};
43
44
45#endif
46 // _WX_MSGBOXDLG_H_