Fix DraggableContainerIcon drawing after recent BControlLook method signature

change for DrawMenuBarBackground(). The borders are passed one position later.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29632 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Stephan Aßmus 2009-03-21 17:39:52 +00:00
parent cb6afcb146
commit 08ff393d50
2 changed files with 2 additions and 2 deletions

View File

@ -510,7 +510,7 @@ DraggableContainerIcon::Draw(BRect updateRect)
BRect rect(Bounds());
rgb_color base = ui_color(B_MENU_BACKGROUND_COLOR);
be_control_look->DrawMenuBarBackground(this, rect, updateRect, base,
0);
0, 0);
}
// Draw the icon, straddling the border

View File

@ -46,7 +46,7 @@ public:
protected:
virtual bool AddDynamicItem(add_state);
virtual bool AddDynamicItem(add_state state);
};