mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 12:38:12 +00:00
LibGUI: Convert GScrollBar to ObjectPtr
This commit is contained in:
parent
4616a13e94
commit
bce58bbbca
7 changed files with 11 additions and 10 deletions
|
@ -74,7 +74,7 @@ static GWidget* build_gwidget(VBWidgetType type, GWidget* parent)
|
|||
case VBWidgetType::GWidget:
|
||||
return new GWidget(parent);
|
||||
case VBWidgetType::GScrollBar:
|
||||
return new GScrollBar(Orientation::Vertical, parent);
|
||||
return GScrollBar::construct(Orientation::Vertical, parent);
|
||||
case VBWidgetType::GGroupBox:
|
||||
return new GGroupBox("groupbox_1", parent);
|
||||
case VBWidgetType::GLabel: {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue