]>
git.saurik.com Git - wxWidgets.git/blob - include/wx/univ/statline.h
1 /////////////////////////////////////////////////////////////////////////////
2 // Name: wx/univ/statline.h
3 // Purpose: wxStaticLine class for wxUniversal
4 // Author: Vadim Zeitlin
7 // Copyright: (c) 1999 Vadim Zeitlin
8 // Licence: wxWindows licence
9 /////////////////////////////////////////////////////////////////////////////
11 #ifndef _WX_UNIV_STATLINE_H_
12 #define _WX_UNIV_STATLINE_H_
14 class WXDLLEXPORT wxStaticLine
: public wxStaticLineBase
17 // constructors and pseudo-constructors
20 wxStaticLine(wxWindow
*parent
,
23 long style
= wxLI_HORIZONTAL
)
25 Create(parent
, wxID_ANY
, pos
,
26 style
& wxLI_VERTICAL
? wxSize(wxDefaultCoord
, length
)
27 : wxSize(length
, wxDefaultCoord
),
31 wxStaticLine(wxWindow
*parent
,
32 wxWindowID id
= wxID_ANY
,
33 const wxPoint
&pos
= wxDefaultPosition
,
34 const wxSize
&size
= wxDefaultSize
,
35 long style
= wxLI_HORIZONTAL
,
36 const wxString
&name
= wxStaticTextNameStr
)
38 Create(parent
, id
, pos
, size
, style
, name
);
41 bool Create(wxWindow
*parent
,
42 wxWindowID id
= wxID_ANY
,
43 const wxPoint
&pos
= wxDefaultPosition
,
44 const wxSize
&size
= wxDefaultSize
,
45 long style
= wxLI_HORIZONTAL
,
46 const wxString
&name
= wxStaticTextNameStr
);
49 virtual void DoDraw(wxControlRenderer
*renderer
);
52 DECLARE_DYNAMIC_CLASS(wxStaticLine
)
55 #endif // _WX_UNIV_STATLINE_H_