diff options
Diffstat (limited to 'demos/modules/gwin/checkbox')
-rw-r--r-- | demos/modules/gwin/checkbox/main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/demos/modules/gwin/checkbox/main.c b/demos/modules/gwin/checkbox/main.c index 2a2df2fb..28122bee 100644 --- a/demos/modules/gwin/checkbox/main.c +++ b/demos/modules/gwin/checkbox/main.c @@ -77,7 +77,7 @@ int main(void) { switch(pe->type) { case GEVENT_GWIN_CHECKBOX: - if (((GEventGWinCheckbox*)pe)->checkbox == ghCheckbox1) { + if (((GEventGWinCheckbox*)pe)->gwin == ghCheckbox1) { // The state of our checkbox has changed //printf("Checkbox state: %d\r\n", ((GEventGWinCheckbox*)pe)->isChecked); } |