aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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 */