destroy routine of frame widget deregisters button callbacks

ugfx_release_2.6
Joel Bodenmann 2014-01-07 23:59:06 +01:00
parent 789765ddad
commit a606e838fd
1 changed files with 2 additions and 3 deletions

View File

@ -33,9 +33,8 @@ void gwinFrameDraw_Std(GWidgetObject *gw, void *param);
static void _callbackBtn(void *param, GEvent *pe);
static void _frameDestroy(GHandle gh) {
/* Detach all button sources */
// ToDo
//geventDetachSource(&gh2obj->gl, NULL);
/* Deregister the button callback */
geventRegisterCallback(&gh2obj->gl, NULL, NULL);
/* call the gwidget standard destroy routine */
_gwidgetDestroy(gh);