aboutsummaryrefslogtreecommitdiffstats
path: root/src/gwin/checkbox.c
diff options
context:
space:
mode:
authorinmarket <andrewh@inmarket.com.au>2014-07-15 16:38:13 +1000
committerinmarket <andrewh@inmarket.com.au>2014-07-15 16:38:13 +1000
commit0587e351692741cb4c68e161a345def2e2dcea5c (patch)
tree035893fbeca286a356b4f8380f194bbdcc72a85f /src/gwin/checkbox.c
parent679961a25ebfe5f6f858811c9a27dd3ddc3fb9aa (diff)
downloaduGFX-0587e351692741cb4c68e161a345def2e2dcea5c.tar.gz
uGFX-0587e351692741cb4c68e161a345def2e2dcea5c.tar.bz2
uGFX-0587e351692741cb4c68e161a345def2e2dcea5c.zip
Add widget tag support (and fix a couple of doxygen problems)
Diffstat (limited to 'src/gwin/checkbox.c')
-rw-r--r--src/gwin/checkbox.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gwin/checkbox.c b/src/gwin/checkbox.c
index f162d8fc..7914ee82 100644
--- a/src/gwin/checkbox.c
+++ b/src/gwin/checkbox.c
@@ -33,6 +33,9 @@ static void SendCheckboxEvent(GWidgetObject *gw) {
pce->type = GEVENT_GWIN_CHECKBOX;
pce->checkbox = &gw->g;
pce->isChecked = (gw->g.flags & GCHECKBOX_FLG_CHECKED) ? TRUE : FALSE;
+ #if GWIN_WIDGET_TAGS
+ pce->tag = gw->tag;
+ #endif
geventSendEvent(psl);
}