use With() and Height() instead of right an bottom for the new frame size, fBounds contains the scrolling offset...

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@15423 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Stephan Aßmus 2005-12-08 15:30:15 +00:00
parent 70206143d0
commit 1cf70f2e66

View File

@ -4021,7 +4021,7 @@ BView::_ResizeBy(int32 deltaWidth, int32 deltaHeight)
if (fFlags & B_FRAME_EVENTS) {
// TODO: CurrentMessage() is not what it used to be!
FrameResized(fBounds.right, fBounds.bottom);
FrameResized(fBounds.Width(), fBounds.Height());
}
}