]>
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 #if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
12 #pragma interface "univstatline.h"
15 #ifndef _WX_UNIV_STATLINE_H_
16 #define _WX_UNIV_STATLINE_H_
18 class WXDLLEXPORT wxStaticLine
: public wxStaticLineBase
21 // constructors and pseudo-constructors
24 wxStaticLine(wxWindow
*parent
,
27 long style
= wxLI_HORIZONTAL
)
29 Create(parent
, -1, pos
,
30 style
& wxLI_VERTICAL
? wxSize(-1, length
)
35 wxStaticLine(wxWindow
*parent
,
37 const wxPoint
&pos
= wxDefaultPosition
,
38 const wxSize
&size
= wxDefaultSize
,
39 long style
= wxLI_HORIZONTAL
,
40 const wxString
&name
= wxStaticTextNameStr
)
42 Create(parent
, id
, pos
, size
, style
, name
);
45 bool Create(wxWindow
*parent
,
47 const wxPoint
&pos
= wxDefaultPosition
,
48 const wxSize
&size
= wxDefaultSize
,
49 long style
= wxLI_HORIZONTAL
,
50 const wxString
&name
= wxStaticTextNameStr
);
53 virtual void DoDraw(wxControlRenderer
*renderer
);
56 DECLARE_DYNAMIC_CLASS(wxStaticLine
)
59 #endif // _WX_UNIV_STATLINE_H_