mirror of
https://github.com/python/cpython.git
synced 2025-08-30 21:48:47 +00:00
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:
parent
0d202b7403
commit
a9e3db354d
4 changed files with 27 additions and 26 deletions
|
@ -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 = {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue