summaryrefslogtreecommitdiffstats
path: root/Mac/Lib
diff options
context:
space:
mode:
authorJack Jansen <jack.jansen@cwi.nl>2001-01-09 22:10:16 (GMT)
committerJack Jansen <jack.jansen@cwi.nl>2001-01-09 22:10:16 (GMT)
commita9e3db354def12649afc4923fef431744ffbbab6 (patch)
tree2a7981e679d16184480a864fe9f6a0544cfd239b /Mac/Lib
parent0d202b740399241d332c21960611943a0789190a (diff)
downloadcpython-a9e3db354def12649afc4923fef431744ffbbab6.zip
cpython-a9e3db354def12649afc4923fef431744ffbbab6.tar.gz
cpython-a9e3db354def12649afc4923fef431744ffbbab6.tar.bz2
Carbon defines {Get,Set}ControlDataHandle, so unfortunately our variants on {Get,Set}ControlData have gotten an underscore: GetControlData_Handle, etc. This is an incompatible change:-(
Diffstat (limited to 'Mac/Lib')
-rw-r--r--Mac/Lib/lib-toolbox/ControlAccessor.py10
1 files changed, 5 insertions, 5 deletions
diff --git a/Mac/Lib/lib-toolbox/ControlAccessor.py b/Mac/Lib/lib-toolbox/ControlAccessor.py
index 94cc70e..2c064b6 100644
--- a/Mac/Lib/lib-toolbox/ControlAccessor.py
+++ b/Mac/Lib/lib-toolbox/ControlAccessor.py
@@ -4,14 +4,14 @@ from Controls import *
import struct
# These needn't go through this module, but are here for completeness
-def SetControlDataHandle(control, part, selector, data):
- control.SetControlDataHandle(part, selector, data)
+def SetControlData_Handle(control, part, selector, data):
+ control.SetControlData_Handle(part, selector, data)
-def GetControlDataHandle(control, part, selector):
- return control.GetControlDataHandle(part, selector)
+def GetControlData_Handle(control, part, selector):
+ return control.GetControlData_Handle(part, selector)
_accessdict = {
- kControlPopupButtonMenuHandleTag: (SetControlDataHandle, GetControlDataHandle),
+ kControlPopupButtonMenuHandleTag: (SetControl_DataHandle, GetControlData_Handle),
}
_codingdict = {