]>
Commit | Line | Data |
---|---|---|
1 | ///////////////////////////////////////////////////////////////////////////// | |
2 | // Name: msw/statline.h | |
3 | // Purpose: MSW version of wxStaticLine class | |
4 | // Author: Vadim Zeitlin | |
5 | // Created: 28.06.99 | |
6 | // Version: $Id$ | |
7 | // Copyright: (c) 1998 Vadim Zeitlin | |
8 | // Licence: wxWindows licence | |
9 | ///////////////////////////////////////////////////////////////////////////// | |
10 | ||
11 | #ifndef _WX_MSW_STATLINE_H_ | |
12 | #define _WX_MSW_STATLINE_H_ | |
13 | ||
14 | // ---------------------------------------------------------------------------- | |
15 | // wxStaticLine | |
16 | // ---------------------------------------------------------------------------- | |
17 | ||
18 | class WXDLLEXPORT wxStaticLine : public wxStaticLineBase | |
19 | { | |
20 | public: | |
21 | // constructors and pseudo-constructors | |
22 | wxStaticLine() { } | |
23 | ||
24 | wxStaticLine( wxWindow *parent, | |
25 | wxWindowID id = wxID_ANY, | |
26 | const wxPoint& pos = wxDefaultPosition, | |
27 | const wxSize& size = wxDefaultSize, | |
28 | long style = wxLI_HORIZONTAL, | |
29 | const wxString &name = wxStaticLineNameStr ) | |
30 | { | |
31 | Create(parent, id, pos, size, style, name); | |
32 | } | |
33 | ||
34 | bool Create( wxWindow *parent, | |
35 | wxWindowID id = wxID_ANY, | |
36 | const wxPoint& pos = wxDefaultPosition, | |
37 | const wxSize& size = wxDefaultSize, | |
38 | long style = wxLI_HORIZONTAL, | |
39 | const wxString &name = wxStaticLineNameStr ); | |
40 | ||
41 | // overriden base class virtuals | |
42 | virtual bool AcceptsFocus() const { return false; } | |
43 | ||
44 | // usually overridden base class virtuals | |
45 | virtual WXDWORD MSWGetStyle(long style, WXDWORD *exstyle) const; | |
46 | ||
47 | DECLARE_DYNAMIC_CLASS_NO_COPY(wxStaticLine) | |
48 | }; | |
49 | ||
50 | #endif // _WX_MSW_STATLINE_H_ | |
51 | ||
52 |