1 /////////////////////////////////////////////////////////////////////////////
2 // Name: wx/generic/msgdlgg.h
3 // Purpose: Generic wxMessageDialog
4 // Author: Julian Smart
8 // Copyright: (c) Julian Smart
9 // Licence: wxWindows licence
10 /////////////////////////////////////////////////////////////////////////////
12 #ifndef _WX_GENERIC_MSGDLGG_H_
13 #define _WX_GENERIC_MSGDLGG_H_
15 class WXDLLIMPEXP_CORE wxGenericMessageDialog
: public wxMessageDialogBase
18 wxGenericMessageDialog(wxWindow
*parent
,
19 const wxString
& message
,
20 const wxString
& caption
= wxMessageBoxCaptionStr
,
21 long style
= wxOK
|wxCENTRE
,
22 const wxPoint
& pos
= wxDefaultPosition
);
24 virtual int ShowModal();
27 void OnYes(wxCommandEvent
& event
);
28 void OnNo(wxCommandEvent
& event
);
29 void OnCancel(wxCommandEvent
& event
);
32 void DoCreateMsgdialog();
38 DECLARE_DYNAMIC_CLASS(wxGenericMessageDialog
)
41 #endif // _WX_GENERIC_MSGDLGG_H_