added missing gwinWidgetClearInit() to label and imagebox demo
This commit is contained in:
parent
5c14057e33
commit
9781c31f3b
2 changed files with 3 additions and 4 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue