1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 23:58:11 +00:00

LibGUI: Convert GTextBox, GTextEditor and GResizeCorner to ObjectPtr

This commit is contained in:
Andreas Kling 2019-09-21 15:43:52 +02:00
parent 4ea229accd
commit 93851c3832
25 changed files with 38 additions and 36 deletions

View file

@ -55,9 +55,9 @@ int main(int argc, char** argv)
auto label2 = GLabel::construct("GLabel 2", main_widget);
label2->set_enabled(false);
auto* textbox1 = new GTextBox(main_widget);
auto textbox1 = new GTextBox(main_widget);
textbox1->set_text("GTextBox 1");
auto* textbox2 = new GTextBox(main_widget);
auto textbox2 = new GTextBox(main_widget);
textbox2->set_text("GTextBox 2");
textbox2->set_enabled(false);