1 /////////////////////////////////////////////////////////////////////////////
2 // Name: wx/msw/statline.h
3 // Purpose: MSW version of wxStaticLine class
4 // Author: Vadim Zeitlin
6 // Copyright: (c) 1998 Vadim Zeitlin
7 // Licence: wxWindows licence
8 /////////////////////////////////////////////////////////////////////////////
10 #ifndef _WX_MSW_STATLINE_H_
11 #define _WX_MSW_STATLINE_H_
13 // ----------------------------------------------------------------------------
15 // ----------------------------------------------------------------------------
17 class WXDLLIMPEXP_CORE wxStaticLine
: public wxStaticLineBase
20 // constructors and pseudo-constructors
23 wxStaticLine( wxWindow
*parent
,
24 wxWindowID id
= wxID_ANY
,
25 const wxPoint
& pos
= wxDefaultPosition
,
26 const wxSize
& size
= wxDefaultSize
,
27 long style
= wxLI_HORIZONTAL
,
28 const wxString
&name
= wxStaticLineNameStr
)
30 Create(parent
, id
, pos
, size
, style
, name
);
33 bool Create( wxWindow
*parent
,
34 wxWindowID id
= wxID_ANY
,
35 const wxPoint
& pos
= wxDefaultPosition
,
36 const wxSize
& size
= wxDefaultSize
,
37 long style
= wxLI_HORIZONTAL
,
38 const wxString
&name
= wxStaticLineNameStr
);
40 // overridden base class virtuals
41 virtual bool AcceptsFocus() const { return false; }
43 // usually overridden base class virtuals
44 virtual WXDWORD
MSWGetStyle(long style
, WXDWORD
*exstyle
) const;
46 DECLARE_DYNAMIC_CLASS_NO_COPY(wxStaticLine
)
49 #endif // _WX_MSW_STATLINE_H_