Ignore:
Timestamp:
Jun 14, 2001, 1:30:57 PM (24 years ago)
Author:
sandervl
Message:

dispatch untranslated msgs + frame control button changes (manually change restore/min/max)

File:
1 edited

Legend:

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

    r6001 r6008  
    1 /* $Id: win32wbase.cpp,v 1.268 2001-06-13 17:28:07 sandervl Exp $ */
     1/* $Id: win32wbase.cpp,v 1.269 2001-06-14 11:30:56 sandervl Exp $ */
    22/*
    33 * Win32 Window Base Class for OS/2
     
    140140  dwExStyle        = 0;
    141141  dwStyle          = 0;
     142  dwOldStyle       = 0;
    142143  win32wndproc     = 0;
    143144  hInstance        = 0;
     
    453454
    454455    WINPROC_SetProc((HWINDOWPROC *)&win32wndproc, windowClass->getWindowProc(), WINPROC_GetProcType(windowClass->getWindowProc()), WIN_PROC_WINDOW);
    455     hInstance = cs->hInstance;
    456     dwStyle   = cs->style & ~WS_VISIBLE;
    457     dwExStyle = cs->dwExStyle;
     456    hInstance  = cs->hInstance;
     457    dwStyle    = cs->style & ~WS_VISIBLE;
     458    dwOldStyle = dwStyle;
     459    dwExStyle  = cs->dwExStyle;
    458460
    459461    hwndLinkAfter = ((cs->style & (WS_CHILD|WS_MAXIMIZE)) == WS_CHILD) ? HWND_BOTTOM : HWND_TOP;
     
    22622264    wasVisible = (getStyle() & WS_VISIBLE) != 0;
    22632265
     2266    dwOldStyle = getStyle();
     2267
    22642268    switch(nCmdShow)
    22652269    {
     
    23182322    case SW_SHOWDEFAULT: /* FIXME: should have its own handler */
    23192323    case SW_RESTORE:
    2320          //TODO: WIN_RESTORE_MAX flag!!!!!!!!!!!!!!
    23212324         swp |= SWP_SHOWWINDOW | SWP_FRAMECHANGED;
    23222325
     
    24852488    if(getParent()) {
    24862489          OSLibMapWINDOWPOStoSWP(&wpos, &swp, &swpOld, getParent()->getClientHeight(),
    2487                                       OS2HwndFrame);
     2490                                 OS2HwndFrame);
    24882491    }
    24892492    else  OSLibMapWINDOWPOStoSWP(&wpos, &swp, &swpOld, OSLibQueryScreenHeight(), OS2HwndFrame);
Note: See TracChangeset for help on using the changeset viewer.