diff options
author | Jack Jansen <jack.jansen@cwi.nl> | 1998-04-24 10:28:20 (GMT) |
---|---|---|
committer | Jack Jansen <jack.jansen@cwi.nl> | 1998-04-24 10:28:20 (GMT) |
commit | e180d99280a7b7615d445a52efd63314f330e74b (patch) | |
tree | 806d4c6302ec0e534ecbf50b830339571d34bc52 /Mac/Modules/win/winedit.py | |
parent | 6a508aef7d024921b00a1c8fe635f19b0fa6a98f (diff) | |
download | cpython-e180d99280a7b7615d445a52efd63314f330e74b.zip cpython-e180d99280a7b7615d445a52efd63314f330e74b.tar.gz cpython-e180d99280a7b7615d445a52efd63314f330e74b.tar.bz2 |
Grmpf, a lot more routines have gotten a "Mac" prefix for their
declaration, probably so the universal headers are useable on
windows/unix too. Have to think of a more definite workaround later,
for now we manually declare the old names in the *edit.py files.
Diffstat (limited to 'Mac/Modules/win/winedit.py')
-rw-r--r-- | Mac/Modules/win/winedit.py | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/Mac/Modules/win/winedit.py b/Mac/Modules/win/winedit.py index a5812f1..b7c2a97 100644 --- a/Mac/Modules/win/winedit.py +++ b/Mac/Modules/win/winedit.py @@ -96,3 +96,31 @@ f = Method(void, 'SetWindowUserState', ) methods.append(f) +# These have Mac prefixed to their name in the 3.1 universal headers, +# so we add the old/real names by hand. +f = Method(void, 'CloseWindow', + (WindowPtr, 'theWindow', InMode), +) +methods.append(f) + +f = Function(short, 'FindWindow', + (Point, 'thePoint', InMode), + (ExistingWindowPtr, 'theWindow', OutMode), +) +functions.append(f) + +f = Method(void, 'MoveWindow', + (WindowPtr, 'theWindow', InMode), + (short, 'hGlobal', InMode), + (short, 'vGlobal', InMode), + (Boolean, 'front', InMode), +) +methods.append(f) + +f = Method(void, 'ShowWindow', + (WindowPtr, 'theWindow', InMode), +) +methods.append(f) + + + |