diff options
author | Jack Jansen <jack.jansen@cwi.nl> | 2001-01-09 22:10:16 (GMT) |
---|---|---|
committer | Jack Jansen <jack.jansen@cwi.nl> | 2001-01-09 22:10:16 (GMT) |
commit | a9e3db354def12649afc4923fef431744ffbbab6 (patch) | |
tree | 2a7981e679d16184480a864fe9f6a0544cfd239b /Mac/Lib/lib-toolbox | |
parent | 0d202b740399241d332c21960611943a0789190a (diff) | |
download | cpython-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/lib-toolbox')
-rw-r--r-- | Mac/Lib/lib-toolbox/ControlAccessor.py | 10 |
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 = { |