[wxPython] wxStaticLine doc errors

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[wxPython] wxStaticLine doc errors

Gordon Williams
Hi,

A couple of errors with wxStaticLine in the docs
1) label is not used as an argument in the constructor
2) Both perameters of size are used to vary the length and width (ie one is
not ignored as stated)

Regards,

Gordon Williams



wxStaticLine::wxStaticLine
wxStaticLine()
Default constructor.
wxStaticLine(wxWindow* parent, wxWindowID id, const wxString& label, 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
Parent window. Must not be NULL.
id
Window identifier. A value of -1 indicates a default value.
pos
Window position. If the position (-1, -1) is specified then a default
position is chosen.
size
Size. Note that either the height or the width (depending on whether the
line if horizontal or vertical) is ignored.
style
Window style (either wxLI_HORIZONTAL or wxLI_VERTICAL).
name
Window name.


_______________________________________________
wxPython-users maillist  -  [hidden email]
http://starship.python.net/mailman/listinfo/wxpython-users