per the current universal headers, ::DrawGrowIcon() has been depricated since MacOS 8.0 (the wdef does it). removing the two places we call it. r=danm/sr=scc.

This commit is contained in:
pinkerton%netscape.com 2001-02-07 06:51:21 +00:00
Родитель ee26174ac1
Коммит a706a8d009
1 изменённых файлов: 0 добавлений и 2 удалений

Просмотреть файл

@ -573,7 +573,6 @@ void nsMacMessagePump::DoMouseDown(EventRecord &anEvent)
oldPt = newPt;
::SizeWindow(whichWindow, width, height, true);
::DrawGrowIcon(whichWindow);
// simulate a click in the grow icon
anEvent.where.h = width - 8; // on Aqua, clicking at (width, height) misses the grow icon. inset a bit.
@ -607,7 +606,6 @@ void nsMacMessagePump::DoMouseDown(EventRecord &anEvent)
nsWatchTask::GetTask().Resume();
if (newSize != 0)
::SizeWindow(whichWindow, newSize & 0x0FFFF, (newSize >> 16) & 0x0FFFF, true);
::DrawGrowIcon(whichWindow);
Rect portRect;
Point newPt = botRight(*::GetWindowPortBounds(whichWindow, &portRect));
::LocalToGlobal(&newPt);