]> git.saurik.com Git - wxWidgets.git/blame - include/wx/palmos/msgdlg.h
Avoid warnings from VC++ 5.0
[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
b73e73f9 15#include "wx/defs.h"
ffecfa5a
JS
16#include "wx/dialog.h"
17
18/*
19 * Message box dialog
20 */
21
63ec432b 22WXDLLEXPORT_DATA(extern const wxChar) wxMessageBoxCaptionStr[];
ffecfa5a 23
e5b50758 24class WXDLLEXPORT wxMessageDialog: public wxDialog, public wxMessageDialogBase
ffecfa5a
JS
25{
26DECLARE_DYNAMIC_CLASS(wxMessageDialog)
27protected:
28 wxString m_caption;
29 wxString m_message;
ffecfa5a
JS
30 wxWindow * m_parent;
31public:
32 wxMessageDialog(wxWindow *parent, const wxString& message, const wxString& caption = wxMessageBoxCaptionStr,
33 long style = wxOK|wxCENTRE, const wxPoint& pos = wxDefaultPosition);
34
35 int ShowModal(void);
36
37 DECLARE_NO_COPY_CLASS(wxMessageDialog)
38};
39
40
41#endif
42 // _WX_MSGBOXDLG_H_