Ignore:
Timestamp:
May 12, 2000, 8:09:42 PM (25 years ago)
Author:
sandervl
Message:

hook, syscolor & message bugfixes

File:
1 edited

Legend:

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

    r3388 r3525  
    1 /* $Id: pmwindow.cpp,v 1.89 2000-04-15 15:11:13 sandervl Exp $ */
     1/* $Id: pmwindow.cpp,v 1.90 2000-05-12 18:09:41 sandervl Exp $ */
    22/*
    33 * Win32 Window Managment Code for OS/2
     
    140140
    141141   dprintf(("InitPM: Desktop (%d,%d)", ScreenWidth, ScreenHeight));
    142    return OSLibInitMsgQueue();
     142   return TRUE;
    143143} /* End of main */
    144144//******************************************************************************
     
    439439
    440440    case WM_PAINT:
     441    {
     442//     RECTL rectl;
     443
    441444        dprintf(("OS2: WM_PAINT"));
    442445        win32wnd->DispatchMsgA(pWinMsg);
    443         goto RunDefWndProc;
     446        //SvL: Not calling the default window procedure causes all sorts of
     447        //     strange problems (redraw & hanging app)
     448//      WinQueryUpdateRect(hwnd, &rectl);
     449//        if(rectl.xLeft == 0 && rectl.yTop == 0 && rectl.xRight == 0 && rectl.yBottom == 0) {
     450//              RestoreOS2TIB();
     451//              return (MRESULT)FALSE;
     452//      }
     453//      dprintf(("Update rectangle (%d,%d)(%d,%d) not empty, msg %x", rectl.xLeft, rectl.yTop, rectl.xRight, rectl.yBottom, pWinMsg->message));
     454        goto RunDefWndProc;
     455    }
    444456
    445457    case WM_CONTEXTMENU:
Note: See TracChangeset for help on using the changeset viewer.