diff --git a/examples/widgets_example.hpp b/examples/widgets_example.hpp index ab91954..6dbc031 100644 --- a/examples/widgets_example.hpp +++ b/examples/widgets_example.hpp @@ -68,8 +68,6 @@ namespace WidgetsExample imageTextButton->setAlignment(gcn::ImageTextButton::TOP); imageTextButton->addActionListener(this); - imageButton->setSize(220, 90); - imageButton->addActionListener(this); inputBox = std::make_unique("Change name", " Set name of label "); inputBox->setVisible(false);