Use IntegerWidth() & friend to avoid the cast, doesn't hurt.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37841 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
6b7acd5159
commit
3c38ebff78
@ -5270,8 +5270,8 @@ BView::_ResizeBy(int32 deltaWidth, int32 deltaHeight)
|
||||
if (fFlags & B_FRAME_EVENTS) {
|
||||
BMessage resized(B_VIEW_RESIZED);
|
||||
resized.AddInt64("when", system_time());
|
||||
resized.AddInt32("width", fBounds.Width());
|
||||
resized.AddInt32("height", fBounds.Height());
|
||||
resized.AddInt32("width", fBounds.IntegerWidth());
|
||||
resized.AddInt32("height", fBounds.IntegerHeight());
|
||||
|
||||
BMessenger target(this);
|
||||
target.SendMessage(&resized);
|
||||
|
Loading…
Reference in New Issue
Block a user