]>
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_
14 #if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
18 // ----------------------------------------------------------------------------
20 // ----------------------------------------------------------------------------
22 class WXDLLEXPORT wxStaticLine
: public wxStaticLineBase
25 // constructors and pseudo-constructors
28 wxStaticLine( wxWindow
*parent
,
30 const wxPoint
&pos
= wxDefaultPosition
,
31 const wxSize
&size
= wxDefaultSize
,
32 long style
= wxLI_HORIZONTAL
,
33 const wxString
&name
= wxStaticTextNameStr
)
35 Create(parent
, id
, pos
, size
, style
, name
);
38 bool Create( wxWindow
*parent
,
40 const wxPoint
&pos
= wxDefaultPosition
,
41 const wxSize
&size
= wxDefaultSize
,
42 long style
= wxLI_HORIZONTAL
,
43 const wxString
&name
= wxStaticTextNameStr
);
45 // overriden base class virtuals
46 virtual bool AcceptsFocus() const { return false; }
49 // usually overridden base class virtuals
50 virtual WXDWORD
MSWGetStyle(long style
, WXDWORD
*exstyle
) const;
52 DECLARE_DYNAMIC_CLASS_NO_COPY(wxStaticLine
)
55 #endif // _WX_MSW_STATLINE_H_