]>
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_
20 // ----------------------------------------------------------------------------
22 // ----------------------------------------------------------------------------
24 class WXDLLEXPORT wxStaticLine
: public wxStaticLineBase
26 DECLARE_DYNAMIC_CLASS(wxStaticLine
)
29 // constructors and pseudo-constructors
32 wxStaticLine( wxWindow
*parent
,
34 const wxPoint
&pos
= wxDefaultPosition
,
35 const wxSize
&size
= wxDefaultSize
,
36 long style
= wxLI_HORIZONTAL
,
37 const wxString
&name
= wxStaticTextNameStr
)
39 Create(parent
, id
, pos
, size
, style
, name
);
42 bool Create( wxWindow
*parent
,
44 const wxPoint
&pos
= wxDefaultPosition
,
45 const wxSize
&size
= wxDefaultSize
,
46 long style
= wxLI_HORIZONTAL
,
47 const wxString
&name
= wxStaticTextNameStr
);
50 // we implement the static line using a static box
51 wxStaticBox
*m_statbox
;
54 #endif // _WX_GENERIC_STATLINE_H_