X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/76e9224eb2edea8afe45faa6a1cd1b2894d245c2..5267aefd85739afd26bd19bfba998005119db446:/interface/wx/slider.h diff --git a/interface/wx/slider.h b/interface/wx/slider.h index 18647f5a84..55f112fccb 100644 --- a/interface/wx/slider.h +++ b/interface/wx/slider.h @@ -107,7 +107,7 @@ @library{wxcore} @category{ctrl} - + @appearance{slider.png} @see @ref overview_eventhandling, wxScrollBar */ @@ -132,6 +132,8 @@ public: Minimum slider position. @param maxValue Maximum slider position. + @param pos + Window position. If wxDefaultPosition is specified then a default position is chosen. @param size Window size. If wxDefaultSize is specified then a default size is chosen. @param style @@ -145,7 +147,7 @@ public: */ wxSlider(wxWindow* parent, wxWindowID id, int value, int minValue, int maxValue, - const wxPoint& point = wxDefaultPosition, + const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxDefaultSize, long style = wxSL_HORIZONTAL, const wxValidator& validator = wxDefaultValidator, @@ -174,13 +176,11 @@ public: Used for two-step slider construction. See wxSlider() for further details. */ - bool Create(wxWindow* parent, wxWindowID id, int value, - int minValue, int maxValue, - const wxPoint& point = wxDefaultPosition, - const wxSize& size = wxDefaultSize, - long style = wxSL_HORIZONTAL, + bool Create(wxWindow* parent, wxWindowID id, int value, int minValue, + int maxValue, const wxPoint& point = wxDefaultPosition, + const wxSize& size = wxDefaultSize, long style = wxSL_HORIZONTAL, const wxValidator& validator = wxDefaultValidator, - const wxString& name = "slider"); + const wxString& name = wxSliderNameStr); /** Returns the line size.