Changeset 10276 for trunk/src


Ignore:
Timestamp:
Oct 20, 2003, 7:18:14 PM (22 years ago)
Author:
sandervl
Message:

compile fixes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/user32/pmwindow.cpp

    r10275 r10276  
    1 /* $Id: pmwindow.cpp,v 1.220 2003-10-20 17:17:22 sandervl Exp $ */
     1/* $Id: pmwindow.cpp,v 1.221 2003-10-20 17:18:14 sandervl Exp $ */
    22/*
    33 * Win32 Window Managment Code for OS/2
     
    506506 POSTMSG_PACKET  *postmsg;
    507507 OSLIBPOINT       point, ClientPoint;
    508  EXCEPTIONREGISTRATIONRECORD exceptRegRec = {0,0};
    509 
    510     ODIN_SetExceptionHandler(&exceptRegRec);
     508
    511509    // restore our FS selector
    512510    SetWin32TIB();
     
    585583        RELEASE_WNDOBJ(win32wnd);
    586584        RestoreOS2TIB();
    587         ODIN_UnsetExceptionHandler(&exceptRegRec);
    588585
    589586#ifdef DEBUG
     
    11581155    if(win32wnd) RELEASE_WNDOBJ(win32wnd);
    11591156    RestoreOS2TIB();
    1160     ODIN_UnsetExceptionHandler(&exceptRegRec);
    11611157
    11621158#ifdef DEBUG
     
    11701166
    11711167    RestoreOS2TIB();
    1172     ODIN_UnsetExceptionHandler(&exceptRegRec);
    11731168
    11741169#ifdef DEBUG
     
    11871182 MRESULT          rc = 0;
    11881183 MSG              winMsg, *pWinMsg;
    1189  EXCEPTIONREGISTRATIONRECORD exceptRegRec = {0,0};
    11901184
    11911185#ifdef DEBUG
     
    11931187#endif
    11941188
    1195     ODIN_SetExceptionHandler(&exceptRegRec);
    11961189    //Restore our FS selector
    11971190    SetWin32TIB();
     
    21792172    if(win32wnd) RELEASE_WNDOBJ(win32wnd);
    21802173    RestoreOS2TIB();
    2181     ODIN_UnsetExceptionHandler(&exceptRegRec);
    21822174
    21832175#ifdef DEBUG
     
    21902182    if(win32wnd) RELEASE_WNDOBJ(win32wnd);
    21912183    RestoreOS2TIB();
    2192     ODIN_UnsetExceptionHandler(&exceptRegRec);
    21932184
    21942185#ifdef DEBUG
     
    22012192    if(win32wnd) RELEASE_WNDOBJ(win32wnd);
    22022193    RestoreOS2TIB();
    2203     ODIN_UnsetExceptionHandler(&exceptRegRec);
    22042194
    22052195    //calling WinDefWindowProc here breaks Opera hotlist window (WM_ADJUSTWINDOWPOS)
     
    22392229    rc = pfnOldWindowProc(hwnd, msg, mp1, mp2);
    22402230
    2241     ODIN_SetExceptionHandler(&exceptRegRec);
    22422231    SetWin32TIB();
    22432232    switch(msg) {
     
    22612250    if(win32wnd) RELEASE_WNDOBJ(win32wnd);
    22622251    RestoreOS2TIB();
    2263     ODIN_UnsetExceptionHandler(&exceptRegRec);
    22642252    return rc;
    22652253
Note: See TracChangeset for help on using the changeset viewer.