]> git.saurik.com Git - wxWidgets.git/blame_incremental - include/wx/gtk/dialog.h
Applied rowspan patch #15276 (dghart)
[wxWidgets.git] / include / wx / gtk / dialog.h
... / ...
CommitLineData
1/////////////////////////////////////////////////////////////////////////////
2// Name: wx/gtk/dialog.h
3// Purpose:
4// Author: Robert Roebling
5// Created:
6// Id: $Id$
7// Copyright: (c) 1998 Robert Roebling
8// Licence: wxWindows licence
9/////////////////////////////////////////////////////////////////////////////
10
11#ifndef _WX_GTKDIALOG_H_
12#define _WX_GTKDIALOG_H_
13
14class WXDLLIMPEXP_FWD_CORE wxGUIEventLoop;
15
16//-----------------------------------------------------------------------------
17// wxDialog
18//-----------------------------------------------------------------------------
19
20class WXDLLIMPEXP_CORE wxDialog: public wxDialogBase
21{
22public:
23 wxDialog() { Init(); }
24 wxDialog( wxWindow *parent, wxWindowID id,
25 const wxString &title,
26 const wxPoint &pos = wxDefaultPosition,
27 const wxSize &size = wxDefaultSize,
28 long style = wxDEFAULT_DIALOG_STYLE,
29 const wxString &name = wxDialogNameStr );
30 bool Create( wxWindow *parent, wxWindowID id,
31 const wxString &title,
32 const wxPoint &pos = wxDefaultPosition,
33 const wxSize &size = wxDefaultSize,
34 long style = wxDEFAULT_DIALOG_STYLE,
35 const wxString &name = wxDialogNameStr );
36 virtual ~wxDialog();
37
38 virtual bool Show( bool show = true );
39 virtual int ShowModal();
40 virtual void EndModal( int retCode );
41 virtual bool IsModal() const;
42
43 // implementation
44 // --------------
45
46 bool m_modalShowing;
47
48private:
49 // common part of all ctors
50 void Init();
51 wxGUIEventLoop *m_modalLoop;
52 DECLARE_DYNAMIC_CLASS(wxDialog)
53};
54
55#endif // _WX_GTKDIALOG_H_