added missing gwinWidgetClearInit() to label and imagebox demo

ugfx_release_2.6
Joel Bodenmann 2014-05-20 10:35:50 +02:00
parent 5c14057e33
commit 9781c31f3b
2 changed files with 3 additions and 4 deletions

View File

@ -37,6 +37,7 @@ static void createWidgets(void) {
GWidgetInit wi;
// Apply some default values for GWIN
gwinWidgetClearInit(&wi);
wi.g.show = TRUE;
// create the first image widget

View File

@ -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