summaryrefslogtreecommitdiffstats
path: root/Mac/Modules/ctl
diff options
context:
space:
mode:
authorJack Jansen <jack.jansen@cwi.nl>2002-08-15 22:05:58 (GMT)
committerJack Jansen <jack.jansen@cwi.nl>2002-08-15 22:05:58 (GMT)
commit7ca993ed37f84491885cc2d96ae7d1a575a7a2f4 (patch)
tree80c403554e4c697ce730f22eab34e24255753262 /Mac/Modules/ctl
parent87eea88b5a198234cb18980d6f3a155de176ea6e (diff)
downloadcpython-7ca993ed37f84491885cc2d96ae7d1a575a7a2f4.zip
cpython-7ca993ed37f84491885cc2d96ae7d1a575a7a2f4.tar.gz
cpython-7ca993ed37f84491885cc2d96ae7d1a575a7a2f4.tar.bz2
Fixed the bugs in the constant definitions, and in the code to test
them. The FutureWarnings are still there, until a way has been found to say "I know what I'm doing here when I say 0xff000000".
Diffstat (limited to 'Mac/Modules/ctl')
-rw-r--r--Mac/Modules/ctl/ctlscan.py12
1 files changed, 6 insertions, 6 deletions
diff --git a/Mac/Modules/ctl/ctlscan.py b/Mac/Modules/ctl/ctlscan.py
index 2525009..eb6d789 100644
--- a/Mac/Modules/ctl/ctlscan.py
+++ b/Mac/Modules/ctl/ctlscan.py
@@ -34,14 +34,14 @@ class MyScanner(Scanner):
def writeinitialdefs(self):
self.defsfile.write("def FOUR_CHAR_CODE(x): return x\n")
- self.defsfile.write("from TextEdit import *\n")
- self.defsfile.write("from QuickDraw import *\n")
- self.defsfile.write("from Dragconst import *\n")
- self.defsfile.write("from CarbonEvents import *\n")
- self.defsfile.write("from Appearance import *\n")
+ self.defsfile.write("from Carbon.TextEdit import *\n")
+ self.defsfile.write("from Carbon.QuickDraw import *\n")
+ self.defsfile.write("from Carbon.Dragconst import *\n")
+ self.defsfile.write("from Carbon.CarbonEvents import *\n")
+ self.defsfile.write("from Carbon.Appearance import *\n")
self.defsfile.write("kDataBrowserItemAnyState = -1\n")
self.defsfile.write("kControlBevelButtonCenterPopupGlyphTag = -1\n")
- self.defsfile.write("kDataBrowserClientPropertyFlagsMask = 0xFF << 24 # kDataBrowserClientPropertyFlagsOffset\n")
+ self.defsfile.write("kDataBrowserClientPropertyFlagsMask = 0xFF000000\n")
self.defsfile.write("\n")
def makeblacklistnames(self):