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