]>
Commit | Line | Data |
---|---|---|
1 | ///////////////////////////////////////////////////////////////////////////// | |
2 | // Name: wx/gtk/statline.h | |
3 | // Purpose: | |
4 | // Author: Robert Roebling | |
5 | // Id: $Id$ | |
6 | // Copyright: (c) 1998 Robert Roebling | |
7 | // Licence: wxWindows licence | |
8 | ///////////////////////////////////////////////////////////////////////////// | |
9 | ||
10 | ||
11 | #ifndef __GTKSTATICLINEH__ | |
12 | #define __GTKSTATICLINEH__ | |
13 | ||
14 | #if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) | |
15 | #pragma interface "statline.h" | |
16 | #endif | |
17 | ||
18 | #include "wx/defs.h" | |
19 | ||
20 | #if wxUSE_STATLINE | |
21 | ||
22 | // ---------------------------------------------------------------------------- | |
23 | // wxStaticLine | |
24 | // ---------------------------------------------------------------------------- | |
25 | ||
26 | class wxStaticLine : public wxStaticLineBase | |
27 | { | |
28 | public: | |
29 | wxStaticLine(); | |
30 | wxStaticLine(wxWindow *parent, | |
31 | wxWindowID id = wxID_ANY, | |
32 | const wxPoint &pos = wxDefaultPosition, | |
33 | const wxSize& size = wxDefaultSize, | |
34 | long style = wxLI_HORIZONTAL, | |
35 | const wxString &name = wxStaticTextNameStr); | |
36 | bool Create(wxWindow *parent, | |
37 | wxWindowID id = wxID_ANY, | |
38 | const wxPoint& pos = wxDefaultPosition, | |
39 | const wxSize& size = wxDefaultSize, | |
40 | long style = wxLI_HORIZONTAL, | |
41 | const wxString &name = wxStaticTextNameStr); | |
42 | ||
43 | static wxVisualAttributes | |
44 | GetClassDefaultAttributes(wxWindowVariant variant = wxWINDOW_VARIANT_NORMAL); | |
45 | ||
46 | ||
47 | private: | |
48 | DECLARE_DYNAMIC_CLASS(wxStaticLine) | |
49 | }; | |
50 | ||
51 | #endif // wxUSE_STATLINE | |
52 | ||
53 | #endif // __GTKSTATICLINEH__ | |
54 |