Changeset 616 in dev for trunk/ab5.0/abdev/abdev/ProjectControl.cpp
- Timestamp:
- May 19, 2008, 3:03:33 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/ab5.0/abdev/abdev/ProjectControl.cpp
r615 r616 1076 1076 windowInfos.back()->type=WNDTYPE_DEFAULT; 1077 1077 windowInfos.back()->filepath="MainWnd.ab"; 1078 windowInfos.back()->NumberOfChildWindows=0;1079 1078 sprintf(temporary,"%s%s.wnd",dir,NewProjectInfo.name); 1080 1079 … … 1944 1943 1945 1944 //子ウィンドウのメモリを解放 1946 for(i2=0;i2<pWindowInfo-> NumberOfChildWindows;i2++){1947 HeapDefaultFree(pWindowInfo-> pChildInfo[i2].IdName);1948 HeapDefaultFree(pWindowInfo-> pChildInfo[i2].caption);1949 if(pWindowInfo-> pChildInfo[i2].Control==CT_IMAGEBOX){1945 for(i2=0;i2<pWindowInfo->childWindowInfos.size();i2++){ 1946 HeapDefaultFree(pWindowInfo->childWindowInfos[i2]->IdName); 1947 HeapDefaultFree(pWindowInfo->childWindowInfos[i2]->caption); 1948 if(pWindowInfo->childWindowInfos[i2]->Control==CT_IMAGEBOX){ 1950 1949 //イメージ ボックスの場合 1951 HeapDefaultFree(pWindowInfo->pChildInfo[i2].ImageCtrlInfo.path); 1952 } 1953 } 1954 HeapDefaultFree(pWindowInfo->pChildInfo); 1950 HeapDefaultFree(pWindowInfo->childWindowInfos[i2]->ImageCtrlInfo.path); 1951 } 1952 1953 delete pWindowInfo->childWindowInfos[i2]; 1954 } 1955 pWindowInfo->childWindowInfos.clear(); 1955 1956 } 1956 1957 ProjectInfo.windowInfos.Clear();
Note:
See TracChangeset
for help on using the changeset viewer.