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.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/demos/modules/gwin/button/main.c b/demos/modules/gwin/button/main.c
index 15e8e5a7..1d8aa2e6 100644
--- a/demos/modules/gwin/button/main.c
+++ b/demos/modules/gwin/button/main.c
@@ -39,7 +39,7 @@ static void createWidgets(void) {
gwinWidgetClearInit(&wi);
wi.g.show = TRUE;
- // Apply the button parameters
+ // Apply the button parameters
wi.g.width = 100;
wi.g.height = 30;
wi.g.y = 10;
@@ -67,9 +67,6 @@ int main(void) {
gwinSetDefaultStyle(&WhiteWidgetStyle, FALSE);
gdispClear(White);
- // Attach the mouse input
- gwinAttachMouse(0);
-
// create the widget
createWidgets();