Use layout-friendly constructor.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21252 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -25,13 +25,11 @@ enum {
|
||||
// constructor
|
||||
ButtonTest::ButtonTest()
|
||||
: Test("Button", NULL),
|
||||
fButton(new BButton(BRect(0, 0, 9, 9), "test button", "",
|
||||
(BMessage*)NULL, B_FOLLOW_NONE)),
|
||||
fButton(new BButton("test button", "", (BMessage*)NULL)),
|
||||
fLongTextCheckBox(NULL),
|
||||
fBigFontCheckBox(NULL),
|
||||
fDefaultFont(NULL),
|
||||
fBigFont(NULL)
|
||||
|
||||
{
|
||||
_SetButtonText(false);
|
||||
SetView(fButton);
|
||||
|
||||
Reference in New Issue
Block a user