Ignore:
Timestamp:
Nov 3, 1999, 8:51:44 PM (26 years ago)
Author:
sandervl
Message:

mouse activate + CreateIconIndirect fix

File:
1 edited

Legend:

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

    r1572 r1576  
    1 /* $Id: pmframe.cpp,v 1.18 1999-11-03 18:00:25 cbratschi Exp $ */
     1/* $Id: pmframe.cpp,v 1.19 1999-11-03 19:51:43 sandervl Exp $ */
    22/*
    33 * Win32 Frame Managment Code for OS/2
     
    257257
    258258        if(!win32wnd->CanReceiveSizeMsgs()) {
    259             goto RunDefFrameProc; //CB: must call def frame proc or frame control activation is broken
     259//SvL: Doing this breaks button.exe, header4(a).exe & style.exe
     260//            goto RunDefFrameProc; //CB: must call def frame proc or frame control activation is broken
    260261            break;
    261262        }
     
    293294            pswp->hwnd = hwnd;
    294295
    295             goto RunDefFrameProc; //CB: must call def frame proc or frame control activation is broken
    296             //RestoreOS2TIB();
    297             //return (MRESULT)0xf;
     296//            goto RunDefFrameProc; //CB: must call def frame proc or frame control activation is broken
     297            RestoreOS2TIB();
     298            return (MRESULT)0xf;
    298299        }
    299300        goto RunDefFrameProc; //CB: must call def frame proc or frame control activation is broken
     
    422423        if (win32wnd->IsModalDialog())
    423424        {
    424           Win32BaseWindow *topOwner = win32wnd->getOwner()->getTopParent();
     425          Win32BaseWindow *topOwner = win32wnd->getOwner()->GetTopParent();
    425426
    426427          if (topOwner) WinSetWindowPos(topOwner->getOS2FrameWindowHandle(),hwnd,0,0,0,0,SWP_ZORDER);
Note: See TracChangeset for help on using the changeset viewer.