diff options
Diffstat (limited to 'Mac/Modules/ctl/ctlscan.py')
-rw-r--r-- | Mac/Modules/ctl/ctlscan.py | 12 |
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): |