1 /////////////////////////////////////////////////////////////////////////////
2 // Name: wx/palmos/statline.h
3 // Purpose: Palm OS version of wxStaticLine class
4 // Author: William Osborne - minimal working wxPalmOS port
8 // Copyright: (c) William Osborne
9 // Licence: wxWindows licence
10 /////////////////////////////////////////////////////////////////////////////
12 #ifndef _WX_MSW_STATLINE_H_
13 #define _WX_MSW_STATLINE_H_
15 // ----------------------------------------------------------------------------
17 // ----------------------------------------------------------------------------
19 class WXDLLIMPEXP_CORE wxStaticLine
: public wxStaticLineBase
22 // constructors and pseudo-constructors
25 wxStaticLine( wxWindow
*parent
,
26 wxWindowID id
= wxID_ANY
,
27 const wxPoint
&pos
= wxDefaultPosition
,
28 const wxSize
&size
= wxDefaultSize
,
29 long style
= wxLI_HORIZONTAL
,
30 const wxString
&name
= wxStaticLineNameStr
)
32 Create(parent
, id
, pos
, size
, style
, name
);
35 bool Create( wxWindow
*parent
,
36 wxWindowID id
= wxID_ANY
,
37 const wxPoint
&pos
= wxDefaultPosition
,
38 const wxSize
&size
= wxDefaultSize
,
39 long style
= wxLI_HORIZONTAL
,
40 const wxString
&name
= wxStaticLineNameStr
);
42 // overriden base class virtuals
43 virtual bool AcceptsFocus() const { return FALSE
; }
46 // usually overridden base class virtuals
47 virtual WXDWORD
MSWGetStyle(long style
, WXDWORD
*exstyle
) const;
49 DECLARE_DYNAMIC_CLASS_NO_COPY(wxStaticLine
)
52 #endif // _WX_MSW_STATLINE_H_