corrected slightly weird passing on of flags to the BControl constructor
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17262 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -19,7 +19,7 @@
|
||||
|
||||
BButton::BButton(BRect frame, const char *name, const char *label, BMessage *message,
|
||||
uint32 resizingMode, uint32 flags)
|
||||
: BControl(frame, name, label, message, resizingMode, flags |= B_WILL_DRAW),
|
||||
: BControl(frame, name, label, message, resizingMode, flags | B_WILL_DRAW),
|
||||
fDrawAsDefault(false)
|
||||
{
|
||||
// Resize to minimum height if needed
|
||||
|
||||
Reference in New Issue
Block a user