]>
git.saurik.com Git - wxWidgets.git/blob - include/wx/msw/statline.h
1 /////////////////////////////////////////////////////////////////////////////
2 // Name: msw/statline.h
3 // Purpose: MSW version of wxStaticLine class
4 // Author: Vadim Zeitlin
7 // Copyright: (c) 1998 Vadim Zeitlin
8 // Licence: wxWindows licence
9 /////////////////////////////////////////////////////////////////////////////
11 #ifndef _WX_MSW_STATLINE_H_
12 #define _WX_MSW_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
);
47 // overriden base class virtuals
48 virtual bool AcceptsFocus() const { return FALSE
; }
51 // usually overridden base class virtuals
52 virtual WXDWORD
MSWGetStyle(long style
, WXDWORD
*exstyle
) const;
55 #endif // _WX_MSW_STATLINE_H_