]> git.saurik.com Git - wxWidgets.git/commitdiff
added def value for Create() id parameter
authorVadim Zeitlin <vadim@wxwidgets.org>
Fri, 13 Jun 2003 17:17:46 +0000 (17:17 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Fri, 13 Jun 2003 17:17:46 +0000 (17:17 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21117 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

include/wx/vscroll.h

index 624d12187ebfb5b164f93b7b00e4fc0fc0c12fdd..a48faef6e3f52d8f7fac5962514efc634ec93e5a 100644 (file)
@@ -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,
     // 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,
                 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);
 
     // 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); }
     // 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); }