diff src/gui_mac.c @ 812:68c15f2c7d3f

updated for version 7.0c01
author vimboss
date Mon, 27 Mar 2006 20:58:26 +0000
parents f0d0d3d3a1e2
children 4a79d6d376f0
line wrap: on
line diff
--- a/src/gui_mac.c
+++ b/src/gui_mac.c
@@ -1776,7 +1776,7 @@ gui_mac_doInGrowClick(Point where, Windo
     newHeight = NewContentRect.bottom - NewContentRect.top;
     gui_resize_shell(newWidth, newHeight);
     gui_mch_set_bg_color(gui.back_pixel);
-    gui_set_shellsize(TRUE, FALSE);
+    gui_set_shellsize(TRUE, FALSE, RESIZE_BOTH);
 }
 
 /*
@@ -1820,7 +1820,7 @@ gui_mac_doInZoomClick(EventRecord *theEv
     GetWindowBounds(whichWindow, kWindowContentRgn, &r);
     gui_resize_shell(r.right - r.left, r.bottom - r.top);
     gui_mch_set_bg_color(gui.back_pixel);
-    gui_set_shellsize(TRUE, FALSE);
+    gui_set_shellsize(TRUE, FALSE, RESIZE_BOTH);
 }
 
 /*
@@ -3202,7 +3202,8 @@ gui_mch_set_shellsize(
     int		min_width,
     int		min_height,
     int		base_width,
-    int		base_height)
+    int		base_height,
+    int		direction)
 {
     CGrafPtr	VimPort;
     Rect	VimBound;