1 /////////////////////////////////////////////////////////////////////////////
2 // Name:        wx/gtk/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 = wxASCII_STR(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 = wxASCII_STR(wxStaticLineNameStr));
36 
37     static wxVisualAttributes
38     GetClassDefaultAttributes(wxWindowVariant variant = wxWINDOW_VARIANT_NORMAL);
39 
40 
41 private:
42     wxDECLARE_DYNAMIC_CLASS(wxStaticLine);
43 };
44 
45 #endif // wxUSE_STATLINE
46 
47 #endif // __GTKSTATICLINEH__
48 
49