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:
Stephan Aßmus
2006-04-29 16:34:10 +00:00
parent 2e964229ed
commit a1a536495a
+1 -1
View File
@@ -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