BTabView: Don't assume BControlLook is in BPrivate.
Eventually it won't be, and we have a "using" directive so it is accessible from the global namespace, so we can make this change already.
This commit is contained in:
parent
937314e526
commit
0e44a703e5
@ -308,7 +308,7 @@ BTab::DrawLabel(BView* owner, BRect frame)
|
||||
owner->SetTransform(transform);
|
||||
be_control_look->DrawLabel(owner, Label(), frame, frame,
|
||||
ui_color(B_PANEL_BACKGROUND_COLOR),
|
||||
IsEnabled() ? 0 : BPrivate::BControlLook::B_DISABLED,
|
||||
IsEnabled() ? 0 : BControlLook::B_DISABLED,
|
||||
BAlignment(B_ALIGN_HORIZONTAL_CENTER, B_ALIGN_VERTICAL_CENTER));
|
||||
owner->SetTransform(BAffineTransform());
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user