]> git.saurik.com Git - wxWidgets.git/blame - include/wx/generic/msgdlgg.h
Fixed various NULL reference issues. Also cleaned up wxPGComboBox code overall a...
[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
2afb9e16
VZ
12#ifndef _WX_GENERIC_MSGDLGG_H_
13#define _WX_GENERIC_MSGDLGG_H_
c801d85f 14
53a2db12 15class WXDLLIMPEXP_CORE wxGenericMessageDialog : public wxMessageDialogBase
c801d85f 16{
c801d85f 17public:
2afb9e16
VZ
18 wxGenericMessageDialog(wxWindow *parent,
19 const wxString& message,
20 const wxString& caption = wxMessageBoxCaptionStr,
21 long style = wxOK|wxCENTRE,
22 const wxPoint& pos = wxDefaultPosition);
c801d85f 23
2afb9e16
VZ
24 virtual int ShowModal();
25
26protected:
c801d85f
KB
27 void OnYes(wxCommandEvent& event);
28 void OnNo(wxCommandEvent& event);
29 void OnCancel(wxCommandEvent& event);
2179d579 30
15b24b14 31private:
2afb9e16
VZ
32 void DoCreateMsgdialog();
33
34 wxPoint m_pos;
35 bool m_created;
36
479cd5de 37 DECLARE_EVENT_TABLE()
2afb9e16 38 DECLARE_DYNAMIC_CLASS(wxGenericMessageDialog)
c801d85f
KB
39};
40
2afb9e16 41#endif // _WX_GENERIC_MSGDLGG_H_