]>
git.saurik.com Git - wxWidgets.git/blob - include/wx/generic/statline.h
1 /////////////////////////////////////////////////////////////////////////////
2 // Name: generic/statline.h
3 // Purpose: a generic wxStaticLine class
4 // Author: Vadim Zeitlin
7 // Copyright: (c) 1998 Vadim Zeitlin
8 // Licence: wxWindows licence
9 /////////////////////////////////////////////////////////////////////////////
11 #ifndef _WX_GENERIC_STATLINE_H_
12 #define _WX_GENERIC_STATLINE_H_
18 // ----------------------------------------------------------------------------
20 // ----------------------------------------------------------------------------
22 class WXDLLEXPORT wxStaticLine
: public wxStaticLineBase
24 DECLARE_DYNAMIC_CLASS(wxStaticLine
)
27 // constructors and pseudo-constructors
30 wxStaticLine( wxWindow
*parent
,
32 const wxPoint
&pos
= wxDefaultPosition
,
33 const wxSize
&size
= wxDefaultSize
,
34 long style
= wxLI_HORIZONTAL
,
35 const wxString
&name
= wxStaticTextNameStr
)
37 Create(parent
, id
, pos
, size
, style
, name
);
40 bool Create( wxWindow
*parent
,
42 const wxPoint
&pos
= wxDefaultPosition
,
43 const wxSize
&size
= wxDefaultSize
,
44 long style
= wxLI_HORIZONTAL
,
45 const wxString
&name
= wxStaticTextNameStr
);
48 // we implement the static line using a static box
49 wxStaticBox
*m_statbox
;
52 #endif // _WX_GENERIC_STATLINE_H_