1 /////////////////////////////////////////////////////////////////////////////
4 // Author: Robert Roebling
7 // Copyright: (c) 1998 Robert Roebling
8 // Licence: wxWindows licence
9 /////////////////////////////////////////////////////////////////////////////
11 #ifndef __GTKDIALOGH__
12 #define __GTKDIALOGH__
14 //-----------------------------------------------------------------------------
16 //-----------------------------------------------------------------------------
18 class WXDLLIMPEXP_CORE wxDialog
: public wxDialogBase
21 wxDialog() { Init(); }
22 wxDialog( wxWindow
*parent
, wxWindowID id
,
23 const wxString
&title
,
24 const wxPoint
&pos
= wxDefaultPosition
,
25 const wxSize
&size
= wxDefaultSize
,
26 long style
= wxDEFAULT_DIALOG_STYLE
,
27 const wxString
&name
= wxDialogNameStr
);
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
);
36 virtual bool Show( bool show
= TRUE
);
37 virtual int ShowModal();
38 virtual void EndModal( int retCode
);
39 virtual bool IsModal() const;
40 void SetModal( bool modal
);
48 // common part of all ctors
51 DECLARE_DYNAMIC_CLASS(wxDialog
)
54 #endif // __GTKDIALOGH__