]>
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 | ||
53a2db12 | 18 | class WXDLLIMPEXP_CORE wxStaticLine : public wxStaticLineBase |
c50f1fb9 | 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 | 28 | long style = wxLI_HORIZONTAL, |
73b30256 | 29 | const wxString &name = wxStaticLineNameStr ) |
c50f1fb9 VZ |
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 | 38 | long style = wxLI_HORIZONTAL, |
73b30256 | 39 | const wxString &name = wxStaticLineNameStr ); |
9d9b7755 VZ |
40 | |
41 | // overriden base class virtuals | |
57f4f925 | 42 | virtual bool AcceptsFocus() const { return false; } |
cfa822b8 | 43 | |
cfa822b8 VZ |
44 | // usually overridden base class virtuals |
45 | virtual WXDWORD MSWGetStyle(long style, WXDWORD *exstyle) const; | |
fc7a2a60 VZ |
46 | |
47 | DECLARE_DYNAMIC_CLASS_NO_COPY(wxStaticLine) | |
c50f1fb9 VZ |
48 | }; |
49 | ||
50 | #endif // _WX_MSW_STATLINE_H_ | |
51 | ||
52 |