fixed a typo
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15903 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -451,7 +451,7 @@ public:
|
|||||||
}
|
}
|
||||||
} // The OOR typemaps don't know what to do with the %new, so fix it up.
|
} // The OOR typemaps don't know what to do with the %new, so fix it up.
|
||||||
%pragma(python) addtoclass = "
|
%pragma(python) addtoclass = "
|
||||||
def GetItem(self, *_args, **_kwargs):
|
def GetColumn(self, *_args, **_kwargs):
|
||||||
val = apply(controls2c.wxListCtrl_GetColumn,(self,) + _args, _kwargs)
|
val = apply(controls2c.wxListCtrl_GetColumn,(self,) + _args, _kwargs)
|
||||||
if val is not None: val.thisown = 1
|
if val is not None: val.thisown = 1
|
||||||
return val
|
return val
|
||||||
@@ -492,7 +492,7 @@ public:
|
|||||||
%pragma(python) addtoclass = "
|
%pragma(python) addtoclass = "
|
||||||
def GetItem(self, *_args, **_kwargs):
|
def GetItem(self, *_args, **_kwargs):
|
||||||
val = apply(controls2c.wxListCtrl_GetItem,(self,) + _args, _kwargs)
|
val = apply(controls2c.wxListCtrl_GetItem,(self,) + _args, _kwargs)
|
||||||
val.thisown = 1
|
if val is not None: val.thisown = 1
|
||||||
return val
|
return val
|
||||||
"
|
"
|
||||||
|
|
||||||
|
@@ -637,7 +637,7 @@ class wxListCtrlPtr(wxControlPtr):
|
|||||||
def __repr__(self):
|
def __repr__(self):
|
||||||
return "<C wxListCtrl instance at %s>" % (self.this,)
|
return "<C wxListCtrl instance at %s>" % (self.this,)
|
||||||
|
|
||||||
def GetItem(self, *_args, **_kwargs):
|
def GetColumn(self, *_args, **_kwargs):
|
||||||
val = apply(controls2c.wxListCtrl_GetColumn,(self,) + _args, _kwargs)
|
val = apply(controls2c.wxListCtrl_GetColumn,(self,) + _args, _kwargs)
|
||||||
if val is not None: val.thisown = 1
|
if val is not None: val.thisown = 1
|
||||||
return val
|
return val
|
||||||
@@ -645,7 +645,7 @@ class wxListCtrlPtr(wxControlPtr):
|
|||||||
|
|
||||||
def GetItem(self, *_args, **_kwargs):
|
def GetItem(self, *_args, **_kwargs):
|
||||||
val = apply(controls2c.wxListCtrl_GetItem,(self,) + _args, _kwargs)
|
val = apply(controls2c.wxListCtrl_GetItem,(self,) + _args, _kwargs)
|
||||||
val.thisown = 1
|
if val is not None: val.thisown = 1
|
||||||
return val
|
return val
|
||||||
|
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user