summaryrefslogtreecommitdiffstats
path: root/Mac/Modules/ctl/ctledit.py
diff options
context:
space:
mode:
authorJack Jansen <jack.jansen@cwi.nl>1997-09-20 17:40:22 (GMT)
committerJack Jansen <jack.jansen@cwi.nl>1997-09-20 17:40:22 (GMT)
commita755e68df647bd3dc27749998d19cc47649a8b4f (patch)
tree95f40587e6e5befe6a870474fc9a15cc0f3683b1 /Mac/Modules/ctl/ctledit.py
parent6dd48686810f4806d98eaffa29e53dfabaca2e08 (diff)
downloadcpython-a755e68df647bd3dc27749998d19cc47649a8b4f.zip
cpython-a755e68df647bd3dc27749998d19cc47649a8b4f.tar.gz
cpython-a755e68df647bd3dc27749998d19cc47649a8b4f.tar.bz2
Export type objects to Python
Diffstat (limited to 'Mac/Modules/ctl/ctledit.py')
-rw-r--r--Mac/Modules/ctl/ctledit.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Mac/Modules/ctl/ctledit.py b/Mac/Modules/ctl/ctledit.py
index 9240851..a23eef8 100644
--- a/Mac/Modules/ctl/ctledit.py
+++ b/Mac/Modules/ctl/ctledit.py
@@ -11,7 +11,7 @@ DisposeControl_body = """
if (!PyArg_ParseTuple(_args, ""))
return NULL;
if ( _self->ob_itself ) {
- SetCRefCon(_self->ob_itself, (long)0); /* Make it forget about us */
+ SetControlReference(_self->ob_itself, (long)0); /* Make it forget about us */
DisposeControl(_self->ob_itself);
_self->ob_itself = NULL;
}