diff options
author | inmarket <andrewh@inmarket.com.au> | 2013-05-26 02:06:55 +1000 |
---|---|---|
committer | inmarket <andrewh@inmarket.com.au> | 2013-05-26 02:06:55 +1000 |
commit | 8fcbf4e5d5cc88d52f4e6e67ebead27fc856ff4a (patch) | |
tree | c52d7733525727320d2de00acedb42bc18124471 /src/gwin/button.c | |
parent | 7fbfde42aabbcd30cffba2fba35158236c0a6c6c (diff) | |
download | uGFX-8fcbf4e5d5cc88d52f4e6e67ebead27fc856ff4a.tar.gz uGFX-8fcbf4e5d5cc88d52f4e6e67ebead27fc856ff4a.tar.bz2 uGFX-8fcbf4e5d5cc88d52f4e6e67ebead27fc856ff4a.zip |
More GOS module changes
GQUEUE as a seperate module
GOS changes including basic Win32 O/S support
Diffstat (limited to 'src/gwin/button.c')
-rw-r--r-- | src/gwin/button.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gwin/button.c b/src/gwin/button.c index 19301698..cf5babc5 100644 --- a/src/gwin/button.c +++ b/src/gwin/button.c @@ -54,7 +54,7 @@ static void gwinButtonCallback(void *param, GEvent *pe) { #define pbe ((GEventGWinButton *)pe) // check if button is disabled - if (gh->enabled == false) + if (!gh->enabled) return; switch (pe->type) { @@ -150,7 +150,7 @@ GHandle gwinCreateButton(GButtonObject *gb, coord_t x, coord_t y, coord_t width, geventRegisterCallback(&gb->listener, gwinButtonCallback, gb); // buttons are enabled by default - gb->gwin.enabled = true; + gb->gwin.enabled = TRUE; return (GHandle)gb; } |