- Timestamp:
- 11/19/07 21:50:28 (1 year ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
Mulberry/branches/win32-merge-121/Win32/Sources/Support/CSDIFrame.cp
r126 r133 34 34 // CSDIFrame 35 35 36 svector<CWnd*> CSDIFrame::sModalWnd;36 vector<CWnd*> CSDIFrame::sModalWnd; 37 37 CWnd* CSDIFrame::sTaskbarParent = NULL; 38 38 int CSDIFrame::sTaskbarCount = 0; 39 39 HMENU CSDIFrame::sWindowsMenu = NULL; 40 svector<CWnd*> CSDIFrame::sWindowList;41 svector<CWnd*> CSDIFrame::sWindowZList;40 vector<CWnd*> CSDIFrame::sWindowList; 41 vector<CWnd*> CSDIFrame::sWindowZList; 42 42 bool CSDIFrame::sWindowZListActive = false; 43 43 CWnd* CSDIFrame::sTopWindow = NULL; … … 273 273 // Find position in list 274 274 sWindowZList.erase(std::remove(sWindowZList.begin(), sWindowZList.end(), aWnd), sWindowZList.end()); 275 svector<CWnd*>::iterator found = ::find(sWindowList.begin(), sWindowList.end(), aWnd);275 vector<CWnd*>::iterator found = ::find(sWindowList.begin(), sWindowList.end(), aWnd); 276 276 if (found != sWindowList.end()) 277 277 { … … 307 307 // Refresh entire list 308 308 int pos = 0; 309 for( svector<CWnd*>::const_iterator iter = sWindowList.begin(); iter != sWindowList.end(); iter++, pos++)309 for(vector<CWnd*>::const_iterator iter = sWindowList.begin(); iter != sWindowList.end(); iter++, pos++) 310 310 { 311 311 cdstring title = CUnicodeUtils::GetWindowTextUTF8(*iter); … … 321 321 { 322 322 int pos = IDM_WINDOWS_First; 323 for( svector<CWnd*>::const_iterator iter = sWindowList.begin(); iter != sWindowList.end(); iter++, pos++)323 for(vector<CWnd*>::const_iterator iter = sWindowList.begin(); iter != sWindowList.end(); iter++, pos++) 324 324 { 325 325 cdstring title = CUnicodeUtils::GetWindowTextUTF8(*iter); … … 343 343 { 344 344 sWindowZListActive = true; 345 for( svector<CWnd*>::const_iterator iter = sWindowList.begin(); iter != sWindowList.end(); iter++)345 for(vector<CWnd*>::const_iterator iter = sWindowList.begin(); iter != sWindowList.end(); iter++) 346 346 (*iter)->ShowWindow(SW_HIDE); 347 347 } … … 350 350 sWindowZListActive = false; 351 351 StValueChanger<bool> _change(sWindowZListActive, true); 352 for( svector<CWnd*>::const_iterator iter = sWindowZList.begin(); iter != sWindowZList.end(); iter++)352 for(vector<CWnd*>::const_iterator iter = sWindowZList.begin(); iter != sWindowZList.end(); iter++) 353 353 (*iter)->ShowWindow(SW_SHOW); 354 354 }