added missing gwinWidgetClearInit() to label and imagebox demo

This commit is contained in:
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

@ -35,8 +35,9 @@ GHandle ghImage1;
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