aboutsummaryrefslogtreecommitdiffstats
path: root/demos/modules/gwin/label/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'demos/modules/gwin/label/main.c')
-rw-r--r--demos/modules/gwin/label/main.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/demos/modules/gwin/label/main.c b/demos/modules/gwin/label/main.c
index 918f2787..aab9cd76 100644
--- a/demos/modules/gwin/label/main.c
+++ b/demos/modules/gwin/label/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 the IP label