]> git.saurik.com Git - wxWidgets.git/blame - include/wx/univ/statline.h
make wxTmemchr() return (and take) char* instead of void* in ANSI build too
[wxWidgets.git] / include / wx / univ / statline.h
CommitLineData
1e6feb95
VZ
1/////////////////////////////////////////////////////////////////////////////
2// Name: wx/univ/statline.h
3// Purpose: wxStaticLine class for wxUniversal
4// Author: Vadim Zeitlin
5// Created: 28.06.99
6// Version: $Id$
7// Copyright: (c) 1999 Vadim Zeitlin
65571936 8// Licence: wxWindows licence
1e6feb95
VZ
9/////////////////////////////////////////////////////////////////////////////
10
1e6feb95
VZ
11#ifndef _WX_UNIV_STATLINE_H_
12#define _WX_UNIV_STATLINE_H_
13
14class WXDLLEXPORT wxStaticLine : public wxStaticLineBase
15{
16public:
17 // constructors and pseudo-constructors
18 wxStaticLine() { }
19
20 wxStaticLine(wxWindow *parent,
21 const wxPoint &pos,
22 wxCoord length,
23 long style = wxLI_HORIZONTAL)
24 {
a290fa5a
WS
25 Create(parent, wxID_ANY, pos,
26 style & wxLI_VERTICAL ? wxSize(wxDefaultCoord, length)
27 : wxSize(length, wxDefaultCoord),
1e6feb95
VZ
28 style);
29 }
30
31 wxStaticLine(wxWindow *parent,
1de1196a 32 wxWindowID id = wxID_ANY,
1e6feb95
VZ
33 const wxPoint &pos = wxDefaultPosition,
34 const wxSize &size = wxDefaultSize,
35 long style = wxLI_HORIZONTAL,
73b30256 36 const wxString &name = wxStaticLineNameStr )
1e6feb95
VZ
37 {
38 Create(parent, id, pos, size, style, name);
39 }
40
41 bool Create(wxWindow *parent,
1de1196a 42 wxWindowID id = wxID_ANY,
1e6feb95
VZ
43 const wxPoint &pos = wxDefaultPosition,
44 const wxSize &size = wxDefaultSize,
45 long style = wxLI_HORIZONTAL,
73b30256 46 const wxString &name = wxStaticLineNameStr );
1e6feb95
VZ
47
48protected:
49 virtual void DoDraw(wxControlRenderer *renderer);
50
51private:
52 DECLARE_DYNAMIC_CLASS(wxStaticLine)
53};
54
55#endif // _WX_UNIV_STATLINE_H_
56