aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoel Bodenmann <joel@unormal.org>2014-05-30 02:57:30 +0200
committerJoel Bodenmann <joel@unormal.org>2014-05-30 02:57:30 +0200
commit41a74191c1965acff84d23d64a4ec3ed4565b604 (patch)
tree896b6ca60b6cfac7cd46ad407f9d1fe8aada625d
parentc65cdaed2489234a10f0c676fac12a0b9072fbe1 (diff)
downloaduGFX-41a74191c1965acff84d23d64a4ec3ed4565b604.tar.gz
uGFX-41a74191c1965acff84d23d64a4ec3ed4565b604.tar.bz2
uGFX-41a74191c1965acff84d23d64a4ec3ed4565b604.zip
fixing frame close button action
-rw-r--r--src/gwin/frame.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gwin/frame.c b/src/gwin/frame.c
index 8d6ce73b..69b430b3 100644
--- a/src/gwin/frame.c
+++ b/src/gwin/frame.c
@@ -215,7 +215,7 @@ static void _callbackBtn(void *param, GEvent *pe) {
switch (pe->type) {
case GEVENT_GWIN_BUTTON:
if (((GEventGWinButton *)pe)->button == ((GFrameObject*)(GHandle)param)->btnClose)
- ;//gwinDestroy((GHandle)param);
+ gwinDestroy((GHandle)param);
else if (((GEventGWinButton *)pe)->button == ((GFrameObject*)(GHandle)param)->btnMin) {
;/* ToDo */