From e7bc175ca0fb1b1d2bd6a80d36696efa6dc0d171 Mon Sep 17 00:00:00 2001 From: inmarket Date: Fri, 26 Sep 2014 16:30:53 +1000 Subject: Demos updated to remove now deprecated function gwinAttachMouse --- demos/modules/gwin/checkbox/main.c | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'demos/modules/gwin/checkbox/main.c') diff --git a/demos/modules/gwin/checkbox/main.c b/demos/modules/gwin/checkbox/main.c index 28122bee..22963e40 100644 --- a/demos/modules/gwin/checkbox/main.c +++ b/demos/modules/gwin/checkbox/main.c @@ -39,14 +39,14 @@ static void createWidgets(void) { gwinWidgetClearInit(&wi); wi.g.show = TRUE; - // Apply the checkbox parameters + // Apply the checkbox parameters wi.g.width = 100; // includes text wi.g.height = 20; wi.g.y = 10; wi.g.x = 10; wi.text = "Checkbox"; - // Create the actual checkbox + // Create the actual checkbox ghCheckbox1 = gwinCheckboxCreate(0, &wi); } @@ -61,9 +61,6 @@ int main(void) { gwinSetDefaultStyle(&WhiteWidgetStyle, FALSE); gdispClear(White); - // Attach the mouse input - gwinAttachMouse(0); - // create the widget createWidgets(); -- cgit v1.2.3