Copy/Paste error fixed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@21560 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -894,17 +894,17 @@ public:
|
|||||||
%pragma(python) addtoclass = "
|
%pragma(python) addtoclass = "
|
||||||
# Redefine some methods that SWIG gets a bit confused on...
|
# Redefine some methods that SWIG gets a bit confused on...
|
||||||
def GetFirstChild(self, *_args, **_kwargs):
|
def GetFirstChild(self, *_args, **_kwargs):
|
||||||
val1,val2 = controls2c.wxTreeCtrl_GetFirstChild(self, *_args, **_kwargs)
|
val1,val2 = gizmosc.wxTreeListCtrl_GetFirstChild(self, *_args, **_kwargs)
|
||||||
val1 = wxTreeItemIdPtr(val1)
|
val1 = wxTreeItemIdPtr(val1)
|
||||||
val1.thisown = 1
|
val1.thisown = 1
|
||||||
return (val1,val2)
|
return (val1,val2)
|
||||||
def GetNextChild(self, *_args, **_kwargs):
|
def GetNextChild(self, *_args, **_kwargs):
|
||||||
val1,val2 = controls2c.wxTreeCtrl_GetNextChild(self, *_args, **_kwargs)
|
val1,val2 = gizmosc.wxTreeListCtrl_GetNextChild(self, *_args, **_kwargs)
|
||||||
val1 = wxTreeItemIdPtr(val1)
|
val1 = wxTreeItemIdPtr(val1)
|
||||||
val1.thisown = 1
|
val1.thisown = 1
|
||||||
return (val1,val2)
|
return (val1,val2)
|
||||||
def HitTest(self, *_args, **_kwargs):
|
def HitTest(self, *_args, **_kwargs):
|
||||||
val1, val2, val3 = controls2c.wxTreeCtrl_HitTest(self, *_args, **_kwargs)
|
val1, val2, val3 = gizmosc.wxTreeListCtrl_HitTest(self, *_args, **_kwargs)
|
||||||
val1 = wxTreeItemIdPtr(val1)
|
val1 = wxTreeItemIdPtr(val1)
|
||||||
val1.thisown = 1
|
val1.thisown = 1
|
||||||
return (val1, val2, val3)
|
return (val1, val2, val3)
|
||||||
|
@@ -650,17 +650,17 @@ class wxTreeListCtrlPtr(wxControlPtr):
|
|||||||
|
|
||||||
# Redefine some methods that SWIG gets a bit confused on...
|
# Redefine some methods that SWIG gets a bit confused on...
|
||||||
def GetFirstChild(self, *_args, **_kwargs):
|
def GetFirstChild(self, *_args, **_kwargs):
|
||||||
val1,val2 = controls2c.wxTreeCtrl_GetFirstChild(self, *_args, **_kwargs)
|
val1,val2 = gizmosc.wxTreeListCtrl_GetFirstChild(self, *_args, **_kwargs)
|
||||||
val1 = wxTreeItemIdPtr(val1)
|
val1 = wxTreeItemIdPtr(val1)
|
||||||
val1.thisown = 1
|
val1.thisown = 1
|
||||||
return (val1,val2)
|
return (val1,val2)
|
||||||
def GetNextChild(self, *_args, **_kwargs):
|
def GetNextChild(self, *_args, **_kwargs):
|
||||||
val1,val2 = controls2c.wxTreeCtrl_GetNextChild(self, *_args, **_kwargs)
|
val1,val2 = gizmosc.wxTreeListCtrl_GetNextChild(self, *_args, **_kwargs)
|
||||||
val1 = wxTreeItemIdPtr(val1)
|
val1 = wxTreeItemIdPtr(val1)
|
||||||
val1.thisown = 1
|
val1.thisown = 1
|
||||||
return (val1,val2)
|
return (val1,val2)
|
||||||
def HitTest(self, *_args, **_kwargs):
|
def HitTest(self, *_args, **_kwargs):
|
||||||
val1, val2, val3 = controls2c.wxTreeCtrl_HitTest(self, *_args, **_kwargs)
|
val1, val2, val3 = gizmosc.wxTreeListCtrl_HitTest(self, *_args, **_kwargs)
|
||||||
val1 = wxTreeItemIdPtr(val1)
|
val1 = wxTreeItemIdPtr(val1)
|
||||||
val1.thisown = 1
|
val1.thisown = 1
|
||||||
return (val1, val2, val3)
|
return (val1, val2, val3)
|
||||||
|
Reference in New Issue
Block a user