]> git.saurik.com Git - wxWidgets.git/blob - include/wx/msw/msgdlg.h
Applied patch [ 1166587 ] [wxMSW] Removes all flicker from wxStaticBox
[wxWidgets.git] / include / wx / msw / msgdlg.h
1 /////////////////////////////////////////////////////////////////////////////
2 // Name: wx/msw/msgdlg.h
3 // Purpose: wxMessageDialog class
4 // Author: Julian Smart
5 // Modified by:
6 // Created: 01/02/97
7 // RCS-ID: $Id$
8 // Copyright: (c) Julian Smart
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
26 extern WXDLLEXPORT_DATA(const wxChar*) wxMessageBoxCaptionStr;
27
28 class WXDLLEXPORT wxMessageDialog: public wxDialog, public wxMessageDialogBase
29 {
30 DECLARE_DYNAMIC_CLASS(wxMessageDialog)
31 protected:
32 wxString m_caption;
33 wxString m_message;
34 wxWindow * m_parent;
35 public:
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_