fixing frame close button action
This commit is contained in:
parent
c65cdaed24
commit
41a74191c1
1 changed files with 1 additions and 1 deletions
|
@ -215,7 +215,7 @@ static void _callbackBtn(void *param, GEvent *pe) {
|
||||||
switch (pe->type) {
|
switch (pe->type) {
|
||||||
case GEVENT_GWIN_BUTTON:
|
case GEVENT_GWIN_BUTTON:
|
||||||
if (((GEventGWinButton *)pe)->button == ((GFrameObject*)(GHandle)param)->btnClose)
|
if (((GEventGWinButton *)pe)->button == ((GFrameObject*)(GHandle)param)->btnClose)
|
||||||
;//gwinDestroy((GHandle)param);
|
gwinDestroy((GHandle)param);
|
||||||
|
|
||||||
else if (((GEventGWinButton *)pe)->button == ((GFrameObject*)(GHandle)param)->btnMin) {
|
else if (((GEventGWinButton *)pe)->button == ((GFrameObject*)(GHandle)param)->btnMin) {
|
||||||
;/* ToDo */
|
;/* ToDo */
|
||||||
|
|
Loading…
Add table
Reference in a new issue