diff options
author | Joel Bodenmann <joel@unormal.org> | 2014-05-30 02:57:30 +0200 |
---|---|---|
committer | Joel Bodenmann <joel@unormal.org> | 2014-05-30 02:57:30 +0200 |
commit | 41a74191c1965acff84d23d64a4ec3ed4565b604 (patch) | |
tree | 896b6ca60b6cfac7cd46ad407f9d1fe8aada625d /src/gwin | |
parent | c65cdaed2489234a10f0c676fac12a0b9072fbe1 (diff) | |
download | uGFX-41a74191c1965acff84d23d64a4ec3ed4565b604.tar.gz uGFX-41a74191c1965acff84d23d64a4ec3ed4565b604.tar.bz2 uGFX-41a74191c1965acff84d23d64a4ec3ed4565b604.zip |
fixing frame close button action
Diffstat (limited to 'src/gwin')
-rw-r--r-- | src/gwin/frame.c | 2 |
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 */ |