summaryrefslogtreecommitdiffstats
path: root/Mac/Modules/ctl/ctlscan.py
diff options
context:
space:
mode:
authorJust van Rossum <just@letterror.com>2001-12-18 20:15:27 (GMT)
committerJust van Rossum <just@letterror.com>2001-12-18 20:15:27 (GMT)
commit7eb48e3283fa3e8622889bc50545bc87e88eaee6 (patch)
tree63ee0518b8711d106b8c2c5062dd2199b5990ced /Mac/Modules/ctl/ctlscan.py
parentc7cb9ed35f878d6ac31c5b746f8b15abcc3be54d (diff)
downloadcpython-7eb48e3283fa3e8622889bc50545bc87e88eaee6.zip
cpython-7eb48e3283fa3e8622889bc50545bc87e88eaee6.tar.gz
cpython-7eb48e3283fa3e8622889bc50545bc87e88eaee6.tar.bz2
Moved a bunch of routines from "blacklisted" to "graylisted", as they _are_
available in OSX (mach-o) but not in CarbonLib (neither on OSX or OS9).
Diffstat (limited to 'Mac/Modules/ctl/ctlscan.py')
-rw-r--r--Mac/Modules/ctl/ctlscan.py22
1 files changed, 12 insertions, 10 deletions
diff --git a/Mac/Modules/ctl/ctlscan.py b/Mac/Modules/ctl/ctlscan.py
index 70b2866..61f79eb 100644
--- a/Mac/Modules/ctl/ctlscan.py
+++ b/Mac/Modules/ctl/ctlscan.py
@@ -88,15 +88,6 @@ class MyScanner(Scanner):
'GetControlPropertySize',
'SendControlMessage', # Parameter changed from long to void* from UH3.3 to UH3.4
'CreateTabsControl', # wrote manually
- # these are part of Carbon, yet not in CarbonLib; OSX-only
- 'CreateRoundButtonControl',
- 'CreateDisclosureButtonControl',
- 'CreateRelevanceBarControl',
- 'DisableControl',
- 'EnableControl',
- 'IsControlEnabled',
- 'CreateEditUnicodeTextControl',
- 'CopyDataBrowserEditText',
# too lazy for now
'GetImageWellContentInfo',
@@ -252,7 +243,18 @@ class MyScanner(Scanner):
'SetControlBounds',
'SetControlPopupMenuHandle',
'SetControlPopupMenuID',
- ])]
+ ]),
+ ('#if TARGET_API_MAC_OSX', [
+ 'CreateRoundButtonControl',
+ 'CreateDisclosureButtonControl',
+ 'CreateRelevanceBarControl',
+ 'DisableControl',
+ 'EnableControl',
+ 'IsControlEnabled',
+ 'CreateEditUnicodeTextControl',
+ 'CopyDataBrowserEditText',
+ ]),
+ ]
def makeblacklisttypes(self):
return [