- Timestamp:
- Oct 20, 2003, 7:18:14 PM (22 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/user32/pmwindow.cpp
r10275 r10276 1 /* $Id: pmwindow.cpp,v 1.22 0 2003-10-20 17:17:22sandervl Exp $ */1 /* $Id: pmwindow.cpp,v 1.221 2003-10-20 17:18:14 sandervl Exp $ */ 2 2 /* 3 3 * Win32 Window Managment Code for OS/2 … … 506 506 POSTMSG_PACKET *postmsg; 507 507 OSLIBPOINT point, ClientPoint; 508 EXCEPTIONREGISTRATIONRECORD exceptRegRec = {0,0}; 509 510 ODIN_SetExceptionHandler(&exceptRegRec); 508 511 509 // restore our FS selector 512 510 SetWin32TIB(); … … 585 583 RELEASE_WNDOBJ(win32wnd); 586 584 RestoreOS2TIB(); 587 ODIN_UnsetExceptionHandler(&exceptRegRec);588 585 589 586 #ifdef DEBUG … … 1158 1155 if(win32wnd) RELEASE_WNDOBJ(win32wnd); 1159 1156 RestoreOS2TIB(); 1160 ODIN_UnsetExceptionHandler(&exceptRegRec);1161 1157 1162 1158 #ifdef DEBUG … … 1170 1166 1171 1167 RestoreOS2TIB(); 1172 ODIN_UnsetExceptionHandler(&exceptRegRec);1173 1168 1174 1169 #ifdef DEBUG … … 1187 1182 MRESULT rc = 0; 1188 1183 MSG winMsg, *pWinMsg; 1189 EXCEPTIONREGISTRATIONRECORD exceptRegRec = {0,0};1190 1184 1191 1185 #ifdef DEBUG … … 1193 1187 #endif 1194 1188 1195 ODIN_SetExceptionHandler(&exceptRegRec);1196 1189 //Restore our FS selector 1197 1190 SetWin32TIB(); … … 2179 2172 if(win32wnd) RELEASE_WNDOBJ(win32wnd); 2180 2173 RestoreOS2TIB(); 2181 ODIN_UnsetExceptionHandler(&exceptRegRec);2182 2174 2183 2175 #ifdef DEBUG … … 2190 2182 if(win32wnd) RELEASE_WNDOBJ(win32wnd); 2191 2183 RestoreOS2TIB(); 2192 ODIN_UnsetExceptionHandler(&exceptRegRec);2193 2184 2194 2185 #ifdef DEBUG … … 2201 2192 if(win32wnd) RELEASE_WNDOBJ(win32wnd); 2202 2193 RestoreOS2TIB(); 2203 ODIN_UnsetExceptionHandler(&exceptRegRec);2204 2194 2205 2195 //calling WinDefWindowProc here breaks Opera hotlist window (WM_ADJUSTWINDOWPOS) … … 2239 2229 rc = pfnOldWindowProc(hwnd, msg, mp1, mp2); 2240 2230 2241 ODIN_SetExceptionHandler(&exceptRegRec);2242 2231 SetWin32TIB(); 2243 2232 switch(msg) { … … 2261 2250 if(win32wnd) RELEASE_WNDOBJ(win32wnd); 2262 2251 RestoreOS2TIB(); 2263 ODIN_UnsetExceptionHandler(&exceptRegRec);2264 2252 return rc; 2265 2253
Note:
See TracChangeset
for help on using the changeset viewer.