]> git.saurik.com Git - wxWidgets.git/blame - include/wx/gtk/dialog.h
Native wxBitmapComboBox patch for GTK+
[wxWidgets.git] / include / wx / gtk / dialog.h
CommitLineData
c801d85f
KB
1/////////////////////////////////////////////////////////////////////////////
2// Name: dialog.h
3// Purpose:
4// Author: Robert Roebling
43a18898 5// Created:
58614078
RR
6// Id: $Id$
7// Copyright: (c) 1998 Robert Roebling
65571936 8// Licence: wxWindows licence
c801d85f
KB
9/////////////////////////////////////////////////////////////////////////////
10
c801d85f
KB
11#ifndef __GTKDIALOGH__
12#define __GTKDIALOGH__
13
c801d85f
KB
14//-----------------------------------------------------------------------------
15// wxDialog
16//-----------------------------------------------------------------------------
17
20123d49 18class WXDLLIMPEXP_CORE wxDialog: public wxDialogBase
c801d85f 19{
43a18898 20public:
68995f26 21 wxDialog() { Init(); }
bfc6fde4 22 wxDialog( wxWindow *parent, wxWindowID id,
43a18898 23 const wxString &title,
2b854a32
VZ
24 const wxPoint &pos = wxDefaultPosition,
25 const wxSize &size = wxDefaultSize,
26 long style = wxDEFAULT_DIALOG_STYLE,
27 const wxString &name = wxDialogNameStr );
bfc6fde4
VZ
28 bool Create( wxWindow *parent, wxWindowID id,
29 const wxString &title,
30 const wxPoint &pos = wxDefaultPosition,
31 const wxSize &size = wxDefaultSize,
32 long style = wxDEFAULT_DIALOG_STYLE,
33 const wxString &name = wxDialogNameStr );
a9efc294 34 virtual ~wxDialog();
bfc6fde4 35
8db37e06 36 virtual bool Show( bool show = TRUE );
bfc6fde4
VZ
37 virtual int ShowModal();
38 virtual void EndModal( int retCode );
39 virtual bool IsModal() const;
40 void SetModal( bool modal );
41
bfc6fde4 42 // implementation
23efdd02 43 // --------------
bfc6fde4 44
bfc6fde4 45 bool m_modalShowing;
bfc6fde4 46
2158f4d7 47private:
68995f26
VZ
48 // common part of all ctors
49 void Init();
50
20e05ffb 51 DECLARE_DYNAMIC_CLASS(wxDialog)
c801d85f
KB
52};
53
54#endif // __GTKDIALOGH__