summaryrefslogtreecommitdiffstats
path: root/Mac/Modules/win/winscan.py
diff options
context:
space:
mode:
Diffstat (limited to 'Mac/Modules/win/winscan.py')
-rw-r--r--Mac/Modules/win/winscan.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/Mac/Modules/win/winscan.py b/Mac/Modules/win/winscan.py
index cafe36f..ae0462f 100644
--- a/Mac/Modules/win/winscan.py
+++ b/Mac/Modules/win/winscan.py
@@ -6,7 +6,7 @@ from bgenlocations import TOOLBOXDIR
from scantools import Scanner
def main():
- input = "Windows.h"
+ input = "MacWindows.h"
output = "wingen.py"
defsoutput = TOOLBOXDIR + "Windows.py"
scanner = MyScanner(input, output, defsoutput)
@@ -28,6 +28,9 @@ class MyScanner(Scanner):
listname = "methods"
return classname, listname
+ def writeinitialdefs(self):
+ self.defsfile.write("def FOUR_CHAR_CODE(x): return x\n")
+
def makeblacklistnames(self):
return [
'DisposeWindow', # Implied when the object is deleted