aboutsummaryrefslogtreecommitdiffstats
path: root/demos/modules/gwin/button/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'demos/modules/gwin/button/main.c')
-rw-r--r--demos/modules/gwin/button/main.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/demos/modules/gwin/button/main.c b/demos/modules/gwin/button/main.c
index 86966a54..1ed2ac43 100644
--- a/demos/modules/gwin/button/main.c
+++ b/demos/modules/gwin/button/main.c
@@ -37,9 +37,10 @@ int main(void) {
// Attach the mouse input
gwinAttachMouse(0);
+ // create the widget
createWidgets();
- // We want to listen for widget events
+ // We want to listen for widget events
geventListenerInit(&gl);
gwinAttachListener(&gl);