aboutsummaryrefslogtreecommitdiffstats
path: root/lib/wx/src/gen/wxTreeCtrl.erl
diff options
context:
space:
mode:
authorDan Gudmundsson <[email protected]>2010-08-27 10:18:58 +0200
committerDan Gudmundsson <[email protected]>2010-08-27 10:18:58 +0200
commit3fc1aec6e9aa51244d1bd071f020eef029afa432 (patch)
treea7d4289c143cc8df14486552af8a634901cba532 /lib/wx/src/gen/wxTreeCtrl.erl
parent1b4a6172d8d2df4362d6d084daef02804e10ebb6 (diff)
parent1325d706399b39ab08845fee30183cf84704a435 (diff)
downloadotp-3fc1aec6e9aa51244d1bd071f020eef029afa432.tar.gz
otp-3fc1aec6e9aa51244d1bd071f020eef029afa432.tar.bz2
otp-3fc1aec6e9aa51244d1bd071f020eef029afa432.zip
Merge branch 'dgud/wx/TreeCtrl_editlabel/OTP-8767' into dev
* dgud/wx/TreeCtrl_editlabel/OTP-8767: Add .gitignore Added missing wxTextCtrl:editLabel/2.
Diffstat (limited to 'lib/wx/src/gen/wxTreeCtrl.erl')
-rw-r--r--lib/wx/src/gen/wxTreeCtrl.erl10
1 files changed, 9 insertions, 1 deletions
diff --git a/lib/wx/src/gen/wxTreeCtrl.erl b/lib/wx/src/gen/wxTreeCtrl.erl
index 4fcbb9366e..e3fe4c9612 100644
--- a/lib/wx/src/gen/wxTreeCtrl.erl
+++ b/lib/wx/src/gen/wxTreeCtrl.erl
@@ -35,7 +35,7 @@
-include("wxe.hrl").
-export([addRoot/2,addRoot/3,appendItem/3,appendItem/4,assignImageList/2,assignStateImageList/2,
collapse/2,collapseAndReset/2,create/2,create/3,delete/2,deleteAllItems/1,
- deleteChildren/2,destroy/1,ensureVisible/2,expand/2,getBoundingRect/3,
+ deleteChildren/2,destroy/1,editLabel/2,ensureVisible/2,expand/2,getBoundingRect/3,
getBoundingRect/4,getChildrenCount/2,getChildrenCount/3,getCount/1,
getEditControl/1,getFirstChild/2,getFirstVisibleItem/1,getImageList/1,
getIndent/1,getItemBackgroundColour/2,getItemData/2,getItemFont/2,
@@ -243,6 +243,14 @@ deleteChildren(#wx_ref{type=ThisT,ref=ThisRef},Item)
wxe_util:cast(?wxTreeCtrl_DeleteChildren,
<<ThisRef:32/?UI,0:32,Item:64/?UI>>).
+%% @spec (This::wxTreeCtrl(), Item::integer()) -> wxTextCtrl:wxTextCtrl()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxtreectrl.html#wxtreectrleditlabel">external documentation</a>.
+editLabel(#wx_ref{type=ThisT,ref=ThisRef},Item)
+ when is_integer(Item) ->
+ ?CLASS(ThisT,wxTreeCtrl),
+ wxe_util:call(?wxTreeCtrl_EditLabel,
+ <<ThisRef:32/?UI,0:32,Item:64/?UI>>).
+
%% @spec (This::wxTreeCtrl(), Item::integer()) -> ok
%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxtreectrl.html#wxtreectrlensurevisible">external documentation</a>.
ensureVisible(#wx_ref{type=ThisT,ref=ThisRef},Item)