From 1cf70f2e660a18c9d32a2b6c6e96a886064c3e97 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Stephan=20A=C3=9Fmus?= Date: Thu, 8 Dec 2005 15:30:15 +0000 Subject: [PATCH] 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 --- src/kits/interface/View.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/kits/interface/View.cpp b/src/kits/interface/View.cpp index 7c8822b1b4..1bd793d614 100644 --- a/src/kits/interface/View.cpp +++ b/src/kits/interface/View.cpp @@ -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()); } }