A static line is just a line which may be used in a dialog to separate the groups of controls. The line may be only vertical or horizontal.
Derived from
wxControl
wxWindow
wxEvtHandler
wxObject
Include files
<wx/statline.h>
Window styles
wxLI_HORIZONTAL | Creates a horizontal line. |
wxLI_VERTICAL | Creates a vertical line. |
See also
Members
wxStaticLine::wxStaticLine
wxStaticLine::Create
wxStaticLine::IsVertical
wxStaticLine::GetDefaultSize
wxStaticLine()
Default constructor.
wxStaticLine(wxWindow* parent, wxWindowID id = wxID_ANY, const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxDefaultSize, long style = wxLI_HORIZONTAL, const wxString& name = "staticLine")
Constructor, creating and showing a static line.
Parameters
parent
id
pos
size
style
name
See also
bool Create(wxWindow* parent, wxWindowID id = wxID_ANY, const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxDefaultSize, long style = 0, const wxString& name = "staticLine")
Creates the static line for two-step construction. See wxStaticLine::wxStaticLine for further details.
bool IsVertical() const
Returns true if the line is vertical, false if horizontal.
int GetDefaultSize()
This static function returns the size which will be given to the smaller dimension of the static line, i.e. its height for a horizontal line or its width for a vertical one.