/////////////////////////////////////////////////////////////////////////////
// Name: statline.h
-// Purpose: documentation for wxStaticLine class
+// Purpose: interface of wxStaticLine
// Author: wxWidgets team
// RCS-ID: $Id$
// Licence: wxWindows license
groups of controls. The line may be only vertical or horizontal.
@beginStyleTable
- @style{wxLI_HORIZONTAL}:
+ @style{wxLI_HORIZONTAL}
Creates a horizontal line.
- @style{wxLI_VERTICAL}:
+ @style{wxLI_VERTICAL}
Creates a vertical line.
@endStyleTable
@library{wxcore}
@category{FIXME}
- @seealso
- wxStaticBox
+ @see wxStaticBox
*/
class wxStaticLine : public wxControl
{
public:
- //@{
+ /**
+ Default constructor
+ */
+ wxStaticLine();
+
/**
Constructor, creating and showing a static line.
-
+
@param parent
Parent window. Must not be @NULL.
@param id
Window style (either wxLI_HORIZONTAL or wxLI_VERTICAL).
@param name
Window name.
-
+
@see Create()
*/
- wxStaticLine();
wxStaticLine(wxWindow* parent, wxWindowID id = wxID_ANY,
const wxPoint& pos = wxDefaultPosition,
const wxSize& size = wxDefaultSize,
long style = wxLI_HORIZONTAL,
const wxString& name = "staticLine");
- //@}
/**
Creates the static line for two-step construction. See wxStaticLine()
/**
Returns @true if the line is vertical, @false if horizontal.
*/
- bool IsVertical();
+ bool IsVertical() const;
};
+