- Timestamp:
- Aug 30, 2000, 3:55:28 PM (25 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/user32/pmwindow.cpp
r3873 r4122 1 /* $Id: pmwindow.cpp,v 1.10 0 2000-07-20 18:08:12sandervl Exp $ */1 /* $Id: pmwindow.cpp,v 1.101 2000-08-30 13:55:28 sandervl Exp $ */ 2 2 /* 3 3 * Win32 Window Managment Code for OS/2 … … 778 778 WinSendMsg(hwndLoseFocus, WM_SETSELECTION, (MPARAM)0, (MPARAM)0); 779 779 } 780 //SvL: Check if window is still valid 781 win32wnd = Win32BaseWindow::GetWindowFromOS2Handle(hwnd); 782 if(win32wnd == NULL) { 783 return (MRESULT)rc; 784 } 780 785 if(usSetFocus) 781 786 { … … 789 794 } 790 795 } 796 //SvL: Check if window is still valid 797 win32wnd = Win32BaseWindow::GetWindowFromOS2Handle(hwnd); 798 if(win32wnd == NULL) { 799 return (MRESULT)rc; 800 } 791 801 if(!(fsFocusChange & FC_NOSETACTIVE)) 792 802 { … … 813 823 } 814 824 } 825 //SvL: Check if window is still valid 826 win32wnd = Win32BaseWindow::GetWindowFromOS2Handle(hwnd); 827 if(win32wnd == NULL) { 828 return (MRESULT)rc; 829 } 815 830 if(!(fsFocusChange & FC_NOSETACTIVE)) { 816 831 if(!winfocus || (winfocus->GetTopParent() != win32wnd->GetTopParent())) { … … 860 875 RestoreOS2TIB(); 861 876 return (MRESULT)TRUE; 877 } 878 879 case WM_REALIZEPALETTE: 880 { 881 dprintf(("OS2: WM_REALIZEPALETTE")); 882 goto RunDefWndProc; 862 883 } 863 884
Note:
See TracChangeset
for help on using the changeset viewer.