From: <kr_...@us...> - 2004-05-25 20:52:49
|
Update of /cvsroot/htoolkit/port/src/cbits/Win32 In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv24466/src/cbits/Win32 Modified Files: Frame.c Log Message: bugfix Index: Frame.c =================================================================== RCS file: /cvsroot/htoolkit/port/src/cbits/Win32/Frame.c,v retrieving revision 1.30 retrieving revision 1.31 diff -C2 -d -r1.30 -r1.31 *** Frame.c 25 May 2004 20:40:40 -0000 1.30 --- Frame.c 25 May 2004 20:52:40 -0000 1.31 *************** *** 141,144 **** --- 141,152 ---- osDestroyAllActions(); + // destroy all popup menus + while (pData->pActionsMap->popupMenus) + osDestroyMenu(pData->pActionsMap->popupMenus); + + // destroy all menus from the menu bar + while (pData->pActionsMap->menus) + osDestroyMenu(pData->pActionsMap->menus); + // clear StatusBar context stack while (pData->statusContexts) |