| 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 | #ifndef __GTKSTATICLINEH__ |
| 11 | #define __GTKSTATICLINEH__ |
| 12 | |
| 13 | #include "wx/defs.h" |
| 14 | |
| 15 | #if wxUSE_STATLINE |
| 16 | |
| 17 | // ---------------------------------------------------------------------------- |
| 18 | // wxStaticLine |
| 19 | // ---------------------------------------------------------------------------- |
| 20 | |
| 21 | class WXDLLIMPEXP_CORE wxStaticLine : public wxStaticLineBase |
| 22 | { |
| 23 | public: |
| 24 | wxStaticLine(); |
| 25 | wxStaticLine(wxWindow *parent, |
| 26 | wxWindowID id = wxID_ANY, |
| 27 | const wxPoint &pos = wxDefaultPosition, |
| 28 | const wxSize& size = wxDefaultSize, |
| 29 | long style = wxLI_HORIZONTAL, |
| 30 | const wxString &name = wxStaticTextNameStr); |
| 31 | bool Create(wxWindow *parent, |
| 32 | wxWindowID id = wxID_ANY, |
| 33 | const wxPoint& pos = wxDefaultPosition, |
| 34 | const wxSize& size = wxDefaultSize, |
| 35 | long style = wxLI_HORIZONTAL, |
| 36 | const wxString &name = wxStaticTextNameStr); |
| 37 | |
| 38 | static wxVisualAttributes |
| 39 | GetClassDefaultAttributes(wxWindowVariant variant = wxWINDOW_VARIANT_NORMAL); |
| 40 | |
| 41 | |
| 42 | private: |
| 43 | DECLARE_DYNAMIC_CLASS(wxStaticLine) |
| 44 | }; |
| 45 | |
| 46 | #endif // wxUSE_STATLINE |
| 47 | |
| 48 | #endif // __GTKSTATICLINEH__ |
| 49 | |