]> git.saurik.com Git - wxWidgets.git/blob - include/wx/gtk1/statline.h
wxDialogBase only has one ctor, so just do initialization in ctor instead of Init()
[wxWidgets.git] / include / wx / gtk1 / statline.h
1 /////////////////////////////////////////////////////////////////////////////
2 // Name: wx/gtk1/statline.h
3 // Purpose:
4 // Author: Robert Roebling
5 // Copyright: (c) 1998 Robert Roebling
6 // Licence: wxWindows licence
7 /////////////////////////////////////////////////////////////////////////////
8
9 #ifndef __GTKSTATICLINEH__
10 #define __GTKSTATICLINEH__
11
12 #include "wx/defs.h"
13
14 #if wxUSE_STATLINE
15
16 // ----------------------------------------------------------------------------
17 // wxStaticLine
18 // ----------------------------------------------------------------------------
19
20 class WXDLLIMPEXP_CORE wxStaticLine : public wxStaticLineBase
21 {
22 public:
23 wxStaticLine();
24 wxStaticLine(wxWindow *parent,
25 wxWindowID id = wxID_ANY,
26 const wxPoint &pos = wxDefaultPosition,
27 const wxSize& size = wxDefaultSize,
28 long style = wxLI_HORIZONTAL,
29 const wxString &name = wxStaticLineNameStr);
30 bool Create(wxWindow *parent,
31 wxWindowID id = wxID_ANY,
32 const wxPoint& pos = wxDefaultPosition,
33 const wxSize& size = wxDefaultSize,
34 long style = wxLI_HORIZONTAL,
35 const wxString &name = wxStaticLineNameStr);
36
37 static wxVisualAttributes
38 GetClassDefaultAttributes(wxWindowVariant variant = wxWINDOW_VARIANT_NORMAL);
39
40
41 private:
42 DECLARE_DYNAMIC_CLASS(wxStaticLine)
43 };
44
45 #endif // wxUSE_STATLINE
46
47 #endif // __GTKSTATICLINEH__
48