1 /////////////////////////////////////////////////////////////////////////////
4 // Author: Robert Roebling
7 // Copyright: (c) 1998 Robert Roebling
8 // Licence: wxWindows licence
9 /////////////////////////////////////////////////////////////////////////////
11 #ifndef __GTKDIALOGH__
12 #define __GTKDIALOGH__
16 //-----------------------------------------------------------------------------
18 //-----------------------------------------------------------------------------
20 class WXDLLIMPEXP_FWD_CORE wxDialog
;
22 //-----------------------------------------------------------------------------
24 //-----------------------------------------------------------------------------
26 extern WXDLLIMPEXP_CORE
const wxChar wxDialogNameStr
[];
28 //-----------------------------------------------------------------------------
30 //-----------------------------------------------------------------------------
32 class WXDLLIMPEXP_CORE wxDialog
: public wxDialogBase
35 wxDialog() { Init(); }
36 wxDialog( wxWindow
*parent
, wxWindowID id
,
37 const wxString
&title
,
38 const wxPoint
&pos
= wxDefaultPosition
,
39 const wxSize
&size
= wxDefaultSize
,
40 long style
= wxDEFAULT_DIALOG_STYLE
,
41 const wxString
&name
= wxDialogNameStr
);
42 bool Create( wxWindow
*parent
, wxWindowID id
,
43 const wxString
&title
,
44 const wxPoint
&pos
= wxDefaultPosition
,
45 const wxSize
&size
= wxDefaultSize
,
46 long style
= wxDEFAULT_DIALOG_STYLE
,
47 const wxString
&name
= wxDialogNameStr
);
48 virtual ~wxDialog() {}
50 virtual bool Show( bool show
= TRUE
);
51 virtual int ShowModal();
52 virtual void EndModal( int retCode
);
53 virtual bool IsModal() const;
54 void SetModal( bool modal
);
62 // common part of all ctors
65 DECLARE_DYNAMIC_CLASS(wxDialog
)
68 #endif // __GTKDIALOGH__