Clean out unused API

This commit is contained in:
elasota
2020-03-14 12:03:50 -04:00
parent cea0bde015
commit e114d5c5dd
11 changed files with 3 additions and 188 deletions

View File

@@ -63,7 +63,7 @@ void GetLocalWindowRect (WindowPtr theWindow, Rect *bounds)
if (theWindow != nil)
{
SetPortWindowPort(theWindow);
GetWindowBounds(theWindow, kWindowContentRgn, bounds);
*bounds = theWindow->GetDrawSurface()->m_port.GetRect();
}
}