aboutsummaryrefslogtreecommitdiffstats
path: root/lib/wx/c_src/gen/wxe_funcs.cpp
diff options
context:
space:
mode:
authorDan Gudmundsson <[email protected]>2013-01-23 15:21:47 +0100
committerDan Gudmundsson <[email protected]>2013-01-23 15:21:47 +0100
commit489b963bae3dd522bca228978f0b164ec422fc6f (patch)
tree4fcc707cbdc1ba091e651c6fd3ec77f222a1bbc6 /lib/wx/c_src/gen/wxe_funcs.cpp
parent694513b8297e09e22fdf47d63772b5044ef50164 (diff)
downloadotp-489b963bae3dd522bca228978f0b164ec422fc6f.tar.gz
otp-489b963bae3dd522bca228978f0b164ec422fc6f.tar.bz2
otp-489b963bae3dd522bca228978f0b164ec422fc6f.zip
wx: Add wxTreeCtrl:isTreeItemIdOk/1
Since I have replaced the wxTreeItemIdClass with integers, there is no way to verify that it is a valid wxTreeItemId that is returned from the wxTreeCtrl:getItem* functions. Still the check is that is non null so beware don't construct your own id's.
Diffstat (limited to 'lib/wx/c_src/gen/wxe_funcs.cpp')
-rw-r--r--lib/wx/c_src/gen/wxe_funcs.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/lib/wx/c_src/gen/wxe_funcs.cpp b/lib/wx/c_src/gen/wxe_funcs.cpp
index 73111b3528..2d55f34346 100644
--- a/lib/wx/c_src/gen/wxe_funcs.cpp
+++ b/lib/wx/c_src/gen/wxe_funcs.cpp
@@ -19020,6 +19020,13 @@ case wxTreeCtrl_ItemHasChildren: { // wxTreeCtrl::ItemHasChildren
rt.addBool(Result);
break;
}
+
+case wxTreeCtrl_IsTreeItemIdOk: { // wxTreeCtrl::IsTreeItemIdOk
+ wxTreeItemId item = wxTreeItemId((void *) *(wxUint64 *) bp); bp += 8;
+ bool Result = item.IsOk();
+ rt.addBool(Result);
+ break;
+}
case wxTreeCtrl_PrependItem: { // wxTreeCtrl::PrependItem
int image=-1;
int selectedImage=-1;