1 /////////////////////////////////////////////////////////////////////////////
2 // Name: wx/univ/statline.h
3 // Purpose: wxStaticLine class for wxUniversal
4 // Author: Vadim Zeitlin
6 // Copyright: (c) 1999 Vadim Zeitlin
7 // Licence: wxWindows licence
8 /////////////////////////////////////////////////////////////////////////////
10 #ifndef _WX_UNIV_STATLINE_H_
11 #define _WX_UNIV_STATLINE_H_
13 class WXDLLIMPEXP_CORE wxStaticLine
: public wxStaticLineBase
16 // constructors and pseudo-constructors
19 wxStaticLine(wxWindow
*parent
,
22 long style
= wxLI_HORIZONTAL
)
24 Create(parent
, wxID_ANY
, pos
,
25 style
& wxLI_VERTICAL
? wxSize(wxDefaultCoord
, length
)
26 : wxSize(length
, wxDefaultCoord
),
30 wxStaticLine(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
)
37 Create(parent
, id
, pos
, size
, style
, name
);
40 bool Create(wxWindow
*parent
,
41 wxWindowID id
= wxID_ANY
,
42 const wxPoint
&pos
= wxDefaultPosition
,
43 const wxSize
&size
= wxDefaultSize
,
44 long style
= wxLI_HORIZONTAL
,
45 const wxString
&name
= wxStaticLineNameStr
);
48 virtual void DoDraw(wxControlRenderer
*renderer
);
51 DECLARE_DYNAMIC_CLASS(wxStaticLine
)
54 #endif // _WX_UNIV_STATLINE_H_