fixing frame close button action
parent
c65cdaed24
commit
41a74191c1
|
@ -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 */
|
||||
|
|
Loading…
Reference in New Issue