fixing frame close button action

ugfx_release_2.6
Joel Bodenmann 2014-05-30 02:57:30 +02:00
parent c65cdaed24
commit 41a74191c1
1 changed files with 1 additions and 1 deletions

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