aboutsummaryrefslogtreecommitdiffstats
path: root/demos/modules/gwin/button
diff options
context:
space:
mode:
authorinmarket <andrewh@inmarket.com.au>2014-09-26 16:30:53 +1000
committerinmarket <andrewh@inmarket.com.au>2014-09-26 16:30:53 +1000
commite7bc175ca0fb1b1d2bd6a80d36696efa6dc0d171 (patch)
treec140dc3c6e9c3030334e17fef8a2b8af1ba5f07b /demos/modules/gwin/button
parent72d04f891b5dd09ec4abdc8073a285b5d513946d (diff)
downloaduGFX-e7bc175ca0fb1b1d2bd6a80d36696efa6dc0d171.tar.gz
uGFX-e7bc175ca0fb1b1d2bd6a80d36696efa6dc0d171.tar.bz2
uGFX-e7bc175ca0fb1b1d2bd6a80d36696efa6dc0d171.zip
Demos updated to remove now deprecated function gwinAttachMouse
Diffstat (limited to 'demos/modules/gwin/button')
-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();