Fixed a mixup of the flags and resize mode arguments. In my previous commit,

I wrongly assumed that viewMode == view flags.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29778 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Stephan Aßmus 2009-03-29 14:22:38 +00:00
parent aa87523e3c
commit 86fb66a8dd

View File

@ -80,11 +80,12 @@ DesktopEntryListCollection::DesktopEntryListCollection()
// #pragma mark -
DesktopPoseView::DesktopPoseView(Model *model, BRect frame, uint32 resizeMask,
uint32 flags)
: BPoseView(model, frame, resizeMask, flags | B_DRAW_ON_CHILDREN)
DesktopPoseView::DesktopPoseView(Model *model, BRect frame, uint32 viewMode,
uint32 resizeMask)
: BPoseView(model, frame, viewMode, resizeMask)
{
SetWidgetTextOutline(true);
SetFlags(Flags() | B_DRAW_ON_CHILDREN);
}