]>
Commit | Line | Data |
---|---|---|
c50f1fb9 VZ |
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 | |
65571936 | 8 | // Licence: wxWindows licence |
c50f1fb9 VZ |
9 | ///////////////////////////////////////////////////////////////////////////// |
10 | ||
11 | #ifndef _WX_MSW_STATLINE_H_ | |
12 | #define _WX_MSW_STATLINE_H_ | |
13 | ||
c50f1fb9 VZ |
14 | // ---------------------------------------------------------------------------- |
15 | // wxStaticLine | |
16 | // ---------------------------------------------------------------------------- | |
17 | ||
18 | class WXDLLEXPORT wxStaticLine : public wxStaticLineBase | |
19 | { | |
c50f1fb9 VZ |
20 | public: |
21 | // constructors and pseudo-constructors | |
22 | wxStaticLine() { } | |
23 | ||
24 | wxStaticLine( wxWindow *parent, | |
1de1196a VZ |
25 | wxWindowID id = wxID_ANY, |
26 | const wxPoint& pos = wxDefaultPosition, | |
27 | const wxSize& size = wxDefaultSize, | |
c50f1fb9 VZ |
28 | long style = wxLI_HORIZONTAL, |
29 | const wxString &name = wxStaticTextNameStr ) | |
30 | { | |
31 | Create(parent, id, pos, size, style, name); | |
32 | } | |
33 | ||
34 | bool Create( wxWindow *parent, | |
1de1196a VZ |
35 | wxWindowID id = wxID_ANY, |
36 | const wxPoint& pos = wxDefaultPosition, | |
37 | const wxSize& size = wxDefaultSize, | |
c50f1fb9 VZ |
38 | long style = wxLI_HORIZONTAL, |
39 | const wxString &name = wxStaticTextNameStr ); | |
9d9b7755 VZ |
40 | |
41 | // overriden base class virtuals | |
57f4f925 | 42 | virtual bool AcceptsFocus() const { return false; } |
cfa822b8 VZ |
43 | |
44 | protected: | |
45 | // usually overridden base class virtuals | |
46 | virtual WXDWORD MSWGetStyle(long style, WXDWORD *exstyle) const; | |
fc7a2a60 VZ |
47 | |
48 | DECLARE_DYNAMIC_CLASS_NO_COPY(wxStaticLine) | |
c50f1fb9 VZ |
49 | }; |
50 | ||
51 | #endif // _WX_MSW_STATLINE_H_ | |
52 | ||
53 |