]> git.saurik.com Git - wxWidgets.git/blame - include/wx/generic/msgdlgg.h
Temporary fix for link error to ~wxZipOutputStream()
[wxWidgets.git] / include / wx / generic / msgdlgg.h
CommitLineData
c801d85f 1/////////////////////////////////////////////////////////////////////////////
e5b50758 2// Name: wx/generic/msgdlgg.h
c801d85f
KB
3// Purpose: Generic wxMessageDialog
4// Author: Julian Smart
5// Modified by:
6// Created: 01/02/97
7// RCS-ID: $Id$
e5b50758 8// Copyright: (c) Julian Smart
ca65c044 9// Licence: wxWindows licence
c801d85f
KB
10/////////////////////////////////////////////////////////////////////////////
11
12#ifndef __MSGDLGH_G__
13#define __MSGDLGH_G__
14
12028905 15#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
c801d85f
KB
16#pragma interface "msgdlgg.h"
17#endif
18
19#include "wx/setup.h"
20#include "wx/dialog.h"
21
22// type is an 'or' (|) of wxOK, wxCANCEL, wxYES_NO
23// Returns wxYES/NO/OK/CANCEL
24
f4fffffc 25extern WXDLLEXPORT_DATA(const wxChar*) wxMessageBoxCaptionStr;
c801d85f 26
e5b50758 27class WXDLLEXPORT wxGenericMessageDialog: public wxDialog, public wxMessageDialogBase
c801d85f
KB
28{
29DECLARE_DYNAMIC_CLASS(wxGenericMessageDialog)
15b24b14 30
c801d85f 31public:
2179d579 32 wxGenericMessageDialog(wxWindow *parent, const wxString& message,
15b24b14 33 const wxString& caption = wxMessageBoxCaptionStr,
c801d85f
KB
34 long style = wxOK|wxCENTRE, const wxPoint& pos = wxDefaultPosition);
35
36 void OnYes(wxCommandEvent& event);
37 void OnNo(wxCommandEvent& event);
38 void OnCancel(wxCommandEvent& event);
2179d579 39
15b24b14 40private:
479cd5de 41 DECLARE_EVENT_TABLE()
c801d85f
KB
42};
43
21709999 44#if (!defined( __WXMSW__ ) && !defined( __WXMAC__) && !defined(__WXPM__)) || defined(__WXUNIVERSAL__)
c801d85f 45#define wxMessageDialog wxGenericMessageDialog
c801d85f
KB
46#endif
47
ca65c044 48#endif // __MSGDLGH_G__