X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/4701dc09838c3da46a8bc2836265a7dffee541ee..7344108e8a129a3f9b4df5ab0f98a1713db03b89:/interface/wx/statline.h?ds=inline diff --git a/interface/wx/statline.h b/interface/wx/statline.h index 745e1aeb21..57c21511e8 100644 --- a/interface/wx/statline.h +++ b/interface/wx/statline.h @@ -3,7 +3,7 @@ // Purpose: interface of wxStaticLine // Author: wxWidgets team // RCS-ID: $Id$ -// Licence: wxWindows license +// Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// /** @@ -14,7 +14,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 @@ -46,7 +46,7 @@ public: Window identifier. The value wxID_ANY indicates a default value. @param pos Window position. - If wxDefaultPosition is specified then a default position is chosen. + 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,7 +61,7 @@ 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. @@ -69,9 +69,8 @@ public: */ 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