X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/adaaa68635b4c8a4d8c5284add40366ea3eefb07..36a0190ebd5bd9a7302f60f6dcd608b80574e21c:/interface/wx/statline.h diff --git a/interface/wx/statline.h b/interface/wx/statline.h index 1c8069ebdd..91ef6c68a1 100644 --- a/interface/wx/statline.h +++ b/interface/wx/statline.h @@ -2,8 +2,7 @@ // Name: statline.h // Purpose: interface of wxStaticLine // Author: wxWidgets team -// RCS-ID: $Id$ -// Licence: wxWindows license +// Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// /** @@ -14,7 +13,7 @@ The line may be only vertical or horizontal. Moreover, not all ports (notably not wxGTK) support specifying the transversal direction of the - line (e.g. height for a horizontal line) so for maximial portability you + line (e.g. height for a horizontal line) so for maximal portability you should specify it as wxDefaultCoord. @beginStyleTable @@ -25,7 +24,7 @@ @endStyleTable @library{wxcore} - @category{FIXME} + @category{ctrl} @see wxStaticBox */ @@ -36,7 +35,7 @@ public: Default constructor */ wxStaticLine(); - + /** Constructor, creating and showing a static line. @@ -45,8 +44,8 @@ public: @param id Window identifier. The value wxID_ANY indicates a default value. @param pos - Window position. If wxDefaultPosition is specified then a default - position is chosen. + Window position. + If ::wxDefaultPosition is specified then a default position is chosen. @param size Size. Note that either the height or the width (depending on whether the line if horizontal or vertical) is ignored. @@ -61,17 +60,16 @@ public: const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxDefaultSize, long style = wxLI_HORIZONTAL, - const wxString& name = "staticLine"); + const wxString& name = wxStaticLineNameStr); /** - Creates the static line for two-step construction. See wxStaticLine() - for further details. + Creates the static line for two-step construction. + See wxStaticLine() for further details. */ bool Create(wxWindow* parent, wxWindowID id = wxID_ANY, const wxPoint& pos = wxDefaultPosition, - const wxSize& size = wxDefaultSize, - long style = 0, - const wxString& name = "staticLine"); + const wxSize& size = wxDefaultSize, long style = wxLI_HORIZONTAL, + const wxString& name = wxStaticLineNameStr); /** This static function returns the size which will be given to the smaller