From: Vadim Zeitlin Date: Fri, 13 Jun 2003 17:17:46 +0000 (+0000) Subject: added def value for Create() id parameter X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/ceb71775b49c111a201765e736f543da72d902e4?ds=inline added def value for Create() id parameter git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21117 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/include/wx/vscroll.h b/include/wx/vscroll.h index 624d12187e..a48faef6e3 100644 --- a/include/wx/vscroll.h +++ b/include/wx/vscroll.h @@ -62,7 +62,7 @@ public: // just as with the ctor above, wxVSCROLL style is always used, there is no // need to specify it bool Create(wxWindow *parent, - wxWindowID id, + wxWindowID id = wxID_ANY, const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxDefaultSize, long style = 0, @@ -96,7 +96,8 @@ public: // redraw all lines in the specified range (inclusive) void RefreshLines(size_t from, size_t to); - // return the item at the specified (in physical coordinates) position or + // return the item at the specified (in physical coordinates) position or. + // wxNOT_FOUND if none, i.e. if it is below the last item int HitTest(wxCoord x, wxCoord y) const; int HitTest(const wxPoint& pt) const { return HitTest(pt.x, pt.y); }