aboutsummaryrefslogtreecommitdiffstats
path: root/demos/modules/gwin/slider/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'demos/modules/gwin/slider/main.c')
-rw-r--r--demos/modules/gwin/slider/main.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/demos/modules/gwin/slider/main.c b/demos/modules/gwin/slider/main.c
index 0897f1f3..475f68cf 100644
--- a/demos/modules/gwin/slider/main.c
+++ b/demos/modules/gwin/slider/main.c
@@ -36,9 +36,7 @@ static void createWidgets(void) {
GWidgetInit wi;
// Apply some default values for GWIN
- wi.customDraw = 0;
- wi.customParam = 0;
- wi.customStyle = 0;
+ gwinWidgetClearInit(&wi);
wi.g.show = TRUE;
// create Slider1