diff --git a/examples/widgets_example.hpp b/examples/widgets_example.hpp index ab91954..9762663 100644 --- a/examples/widgets_example.hpp +++ b/examples/widgets_example.hpp @@ -56,11 +56,13 @@ namespace WidgetsExample button = std::make_unique("Button"); + button->setHotKey('b'); button->addActionListener(this); imageButton = std::make_unique("guisan-logo.png"); imageButton->setSize(220, 90); + imageButton->setHotKey('g'); imageButton->addActionListener(this); imageTextButton = std::make_unique("guisan-logo.png", "Change color");