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:
Robin Dunn
2002-06-21 02:04:43 +00:00
parent 73d8c5fd76
commit e4ed5de1fe
2 changed files with 5 additions and 5 deletions

View File

@@ -449,9 +449,9 @@ public:
else
return NULL;
}
} // 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 = "
def GetItem(self, *_args, **_kwargs):
def GetColumn(self, *_args, **_kwargs):
val = apply(controls2c.wxListCtrl_GetColumn,(self,) + _args, _kwargs)
if val is not None: val.thisown = 1
return val
@@ -492,7 +492,7 @@ public:
%pragma(python) addtoclass = "
def 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
"

View File

@@ -637,7 +637,7 @@ class wxListCtrlPtr(wxControlPtr):
def __repr__(self):
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)
if val is not None: val.thisown = 1
return val
@@ -645,7 +645,7 @@ class wxListCtrlPtr(wxControlPtr):
def 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