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:-(

This commit is contained in:
Jack Jansen 2001-01-09 22:10:16 +00:00
parent 0d202b7403
commit a9e3db354d
4 changed files with 27 additions and 26 deletions

View file

@ -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 = {