summaryrefslogtreecommitdiffstats
path: root/src/gui_mac.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2006-03-27 20:58:26 +0000
committerBram Moolenaar <Bram@vim.org>2006-03-27 20:58:26 +0000
commitafa24990b344e199abe1391fac7181defcd0c244 (patch)
treed516436e09300951fe2497008528a7042babed8d /src/gui_mac.c
parent2e2a2815e5c8274bf2e2d9b383707f1c2eee08bb (diff)
updated for version 7.0c01
Diffstat (limited to 'src/gui_mac.c')
-rw-r--r--src/gui_mac.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/gui_mac.c b/src/gui_mac.c
index d05fddb2a9..0acc3dbce4 100644
--- a/src/gui_mac.c
+++ b/src/gui_mac.c
@@ -1776,7 +1776,7 @@ gui_mac_doInGrowClick(Point where, WindowPtr whichWindow)
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 *theEvent, WindowPtr whichWindow)
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;