diff options
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) + + + |