]>
Commit | Line | Data |
---|---|---|
c50f1fb9 VZ |
1 | ///////////////////////////////////////////////////////////////////////////// |
2 | // Name: generic/statline.h | |
3 | // Purpose: a generic 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_GENERIC_STATLINE_H_ | |
12 | #define _WX_GENERIC_STATLINE_H_ | |
13 | ||
14 | #ifdef __GNUG__ | |
15 | #pragma interface | |
16 | #endif | |
17 | ||
18 | // ---------------------------------------------------------------------------- | |
19 | // wxStaticLine | |
20 | // ---------------------------------------------------------------------------- | |
21 | ||
22 | class WXDLLEXPORT wxStaticLine : public wxStaticLineBase | |
23 | { | |
24 | DECLARE_DYNAMIC_CLASS(wxStaticLine) | |
25 | ||
26 | public: | |
27 | // constructors and pseudo-constructors | |
28 | wxStaticLine() { } | |
29 | ||
30 | wxStaticLine( wxWindow *parent, | |
31 | wxWindowID id, | |
32 | const wxPoint &pos = wxDefaultPosition, | |
33 | const wxSize &size = wxDefaultSize, | |
34 | long style = wxLI_HORIZONTAL, | |
35 | const wxString &name = wxStaticTextNameStr ) | |
36 | { | |
37 | Create(parent, id, pos, size, style, name); | |
38 | } | |
39 | ||
40 | bool Create( wxWindow *parent, | |
41 | wxWindowID id, | |
42 | const wxPoint &pos = wxDefaultPosition, | |
43 | const wxSize &size = wxDefaultSize, | |
44 | long style = wxLI_HORIZONTAL, | |
45 | const wxString &name = wxStaticTextNameStr ); | |
46 | ||
47 | protected: | |
48 | // we implement the static line using a static box | |
49 | wxStaticBox *m_statbox; | |
50 | }; | |
51 | ||
52 | #endif // _WX_GENERIC_STATLINE_H_ | |
53 |