]> git.saurik.com Git - wxWidgets.git/blob - include/wx/univ/statline.h
Add more checks for Intel compiler.
[wxWidgets.git] / include / wx / univ / statline.h
1 /////////////////////////////////////////////////////////////////////////////
2 // Name: wx/univ/statline.h
3 // Purpose: wxStaticLine class for wxUniversal
4 // Author: Vadim Zeitlin
5 // Created: 28.06.99
6 // Copyright: (c) 1999 Vadim Zeitlin
7 // Licence: wxWindows licence
8 /////////////////////////////////////////////////////////////////////////////
9
10 #ifndef _WX_UNIV_STATLINE_H_
11 #define _WX_UNIV_STATLINE_H_
12
13 class WXDLLIMPEXP_CORE wxStaticLine : public wxStaticLineBase
14 {
15 public:
16 // constructors and pseudo-constructors
17 wxStaticLine() { }
18
19 wxStaticLine(wxWindow *parent,
20 const wxPoint &pos,
21 wxCoord length,
22 long style = wxLI_HORIZONTAL)
23 {
24 Create(parent, wxID_ANY, pos,
25 style & wxLI_VERTICAL ? wxSize(wxDefaultCoord, length)
26 : wxSize(length, wxDefaultCoord),
27 style);
28 }
29
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 = wxStaticLineNameStr )
36 {
37 Create(parent, id, pos, size, style, name);
38 }
39
40 bool Create(wxWindow *parent,
41 wxWindowID id = wxID_ANY,
42 const wxPoint &pos = wxDefaultPosition,
43 const wxSize &size = wxDefaultSize,
44 long style = wxLI_HORIZONTAL,
45 const wxString &name = wxStaticLineNameStr );
46
47 protected:
48 virtual void DoDraw(wxControlRenderer *renderer);
49
50 private:
51 DECLARE_DYNAMIC_CLASS(wxStaticLine)
52 };
53
54 #endif // _WX_UNIV_STATLINE_H_
55