aboutsummaryrefslogtreecommitdiffstats
path: root/lib/wx/src/gen/wxTreeEvent.erl
diff options
context:
space:
mode:
authorDan Gudmundsson <[email protected]>2010-01-19 14:25:18 +0000
committerErlang/OTP <[email protected]>2010-01-19 14:25:18 +0000
commit7aeea26018246415dbfa829f134040b3eefa1ee2 (patch)
tree5109c4f2cd32f6b4143511dd8481928cec525dec /lib/wx/src/gen/wxTreeEvent.erl
parentb0b1c57b2256c0081b8e43b0c8799c71e30016fe (diff)
downloadotp-7aeea26018246415dbfa829f134040b3eefa1ee2.tar.gz
otp-7aeea26018246415dbfa829f134040b3eefa1ee2.tar.bz2
otp-7aeea26018246415dbfa829f134040b3eefa1ee2.zip
wx: Improved wxTreeCtrl.
Changed representation of wxTreeItem to be int. This saves memory, where the driver don't need to keep a reference map for every tree item. And added getFirstChild and getNextChild to wxTreeCtrl.
Diffstat (limited to 'lib/wx/src/gen/wxTreeEvent.erl')
-rw-r--r--lib/wx/src/gen/wxTreeEvent.erl14
1 files changed, 7 insertions, 7 deletions
diff --git a/lib/wx/src/gen/wxTreeEvent.erl b/lib/wx/src/gen/wxTreeEvent.erl
index 3f20e79b22..11e442b0f3 100644
--- a/lib/wx/src/gen/wxTreeEvent.erl
+++ b/lib/wx/src/gen/wxTreeEvent.erl
@@ -1,19 +1,19 @@
%%
%% %CopyrightBegin%
-%%
-%% Copyright Ericsson AB 2008-2009. All Rights Reserved.
-%%
+%%
+%% Copyright Ericsson AB 2008-2010. All Rights Reserved.
+%%
%% The contents of this file are subject to the Erlang Public License,
%% Version 1.1, (the "License"); you may not use this file except in
%% compliance with the License. You should have received a copy of the
%% Erlang Public License along with this software. If not, it can be
%% retrieved online at http://www.erlang.org/.
-%%
+%%
%% Software distributed under the License is distributed on an "AS IS"
%% basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See
%% the License for the specific language governing rights and limitations
%% under the License.
-%%
+%%
%% %CopyrightEnd%
%% This file is generated DO NOT EDIT
@@ -55,7 +55,7 @@ getKeyCode(#wx_ref{type=ThisT,ref=ThisRef}) ->
wxe_util:call(?wxTreeEvent_GetKeyCode,
<<ThisRef:32/?UI>>).
-%% @spec (This::wxTreeEvent()) -> wxTreeItemId()
+%% @spec (This::wxTreeEvent()) -> integer()
%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxtreeevent.html#wxtreeeventgetitem">external documentation</a>.
getItem(#wx_ref{type=ThisT,ref=ThisRef}) ->
?CLASS(ThisT,wxTreeEvent),
@@ -76,7 +76,7 @@ getLabel(#wx_ref{type=ThisT,ref=ThisRef}) ->
wxe_util:call(?wxTreeEvent_GetLabel,
<<ThisRef:32/?UI>>).
-%% @spec (This::wxTreeEvent()) -> wxTreeItemId()
+%% @spec (This::wxTreeEvent()) -> integer()
%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxtreeevent.html#wxtreeeventgetolditem">external documentation</a>.
getOldItem(#wx_ref{type=ThisT,ref=ThisRef}) ->
?CLASS(ThisT,wxTreeEvent),