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.
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.
*/
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