fixing frame close button action

This commit is contained in:
Joel Bodenmann 2014-05-30 02:57:30 +02:00
parent c65cdaed24
commit 41a74191c1

View file

@ -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 */