From: Vadim Zeitlin Date: Thu, 13 Sep 2012 17:12:19 +0000 (+0000) Subject: Fix "pos" argument description in wxTreeCtrl::InsertItem() documentation. X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/c7453fba64c38ce3f8c938b068bb3a94323fc6bb?ds=inline Fix "pos" argument description in wxTreeCtrl::InsertItem() documentation. Closes #14640. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@72469 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/interface/wx/treectrl.h b/interface/wx/treectrl.h index 8327401803..4587dfa9de 100644 --- a/interface/wx/treectrl.h +++ b/interface/wx/treectrl.h @@ -691,8 +691,8 @@ public: /** Inserts an item before one identified - by its position (@a before). @a before must be less than the number of - children. + by its position (@a pos). @a pos must be less than or equal to + the number of children. The @a image and @a selImage parameters are an index within the normal image list specifying the image to use for unselected and selected @@ -700,7 +700,7 @@ public: image is used for both selected and unselected items. */ wxTreeItemId InsertItem(const wxTreeItemId& parent, - size_t before, + size_t pos, const wxString& text, int image = -1, int selImage = -1,