more stuff
diff --git a/Mac/Modules/win/wingen.py b/Mac/Modules/win/wingen.py
index a8c0cc2..0abf6e0 100644
--- a/Mac/Modules/win/wingen.py
+++ b/Mac/Modules/win/wingen.py
@@ -67,7 +67,7 @@
 )
 methods.append(f)
 
-f = Function(WindowPtr, 'FrontWindow',
+f = Function(ExistingWindowPtr, 'FrontWindow',
 )
 functions.append(f)
 
@@ -224,3 +224,5 @@
     (Rect_ptr, 'boundsRect', InMode),
 )
 methods.append(f)
+
+