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
|
// constructor
|
||||||
ButtonTest::ButtonTest()
|
ButtonTest::ButtonTest()
|
||||||
: Test("Button", NULL),
|
: Test("Button", NULL),
|
||||||
fButton(new BButton(BRect(0, 0, 9, 9), "test button", "",
|
fButton(new BButton("test button", "", (BMessage*)NULL)),
|
||||||
(BMessage*)NULL, B_FOLLOW_NONE)),
|
|
||||||
fLongTextCheckBox(NULL),
|
fLongTextCheckBox(NULL),
|
||||||
fBigFontCheckBox(NULL),
|
fBigFontCheckBox(NULL),
|
||||||
fDefaultFont(NULL),
|
fDefaultFont(NULL),
|
||||||
fBigFont(NULL)
|
fBigFont(NULL)
|
||||||
|
|
||||||
{
|
{
|
||||||
_SetButtonText(false);
|
_SetButtonText(false);
|
||||||
SetView(fButton);
|
SetView(fButton);
|
||||||
|
|||||||
Reference in New Issue
Block a user