Ignore:
Timestamp:
Feb 5, 2000, 3:08:54 PM (26 years ago)
Author:
sandervl
Message:

set style + mdi child creation fixes

File:
1 edited

Legend:

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

    r2636 r2657  
    1 /* $Id: win32wbase.cpp,v 1.151 2000-02-04 17:17:56 cbratschi Exp $ */
     1/* $Id: win32wbase.cpp,v 1.152 2000-02-05 14:08:53 sandervl Exp $ */
    22/*
    33 * Win32 Window Base Class for OS/2
     
    126126
    127127  pOldFrameProc = NULL;
    128   borderWidth   = 0;
    129   borderHeight  = 0;
    130128
    131129  hwndLinkAfter    = HWND_BOTTOM;
     
    483481  }
    484482
    485   DWORD dwOSWinStyle, dwOSFrameStyle;
    486 
    487   OSLibWinConvertStyle(dwStyle, &dwExStyle, &dwOSWinStyle, &dwOSFrameStyle, &borderWidth, &borderHeight);
     483  DWORD dwOSWinStyle;
     484
     485  OSLibWinConvertStyle(dwStyle, &dwExStyle, &dwOSWinStyle);
    488486
    489487  if(HIWORD(cs->lpszName))
     
    27332731                setStyle(ss.styleNew);
    27342732                SendInternalMessageA(WM_STYLECHANGED,GWL_STYLE,(LPARAM)&ss);
     2733                OSLibSetWindowStyle(getOS2FrameWindowHandle(), getStyle(), getExStyle(),
     2734                                    windowClass->getStyle() & CS_SAVEBITS);
    27352735#ifdef DEBUG
    27362736                PrintWindowStyle(ss.styleNew, 0);
     
    27402740        case GWL_WNDPROC:
    27412741                oldval = (LONG)WINPROC_GetProc(win32wndproc, (fUnicode) ? WIN_PROC_32W : WIN_PROC_32A);
    2742                 //WINPROC_SetProc((HWINDOWPROC *)&win32wndproc, (WNDPROC)value, (fUnicode) ? WIN_PROC_32W : WIN_PROC_32A, WIN_PROC_WINDOW);
    27432742                WINPROC_SetProc((HWINDOWPROC *)&win32wndproc, (WNDPROC)value, WINPROC_GetProcType(win32wndproc), WIN_PROC_WINDOW);
    27442743                return oldval;
     2744
    27452745        case GWL_HINSTANCE:
    27462746                oldval = hInstance;
    27472747                hInstance = value;
    27482748                return oldval;
     2749
    27492750        case GWL_HWNDPARENT:
    27502751                return SetParent((HWND)value);
     2752
    27512753        case GWL_ID:
    27522754                oldval = getWindowId();
    27532755                setWindowId(value);
    27542756                return oldval;
     2757
    27552758        case GWL_USERDATA:
    27562759                oldval = userData;
    27572760                userData = value;
    27582761                return oldval;
     2762
    27592763        default:
    27602764                if(index >= 0 && index/4 < nrUserWindowLong)
Note: See TracChangeset for help on using the changeset viewer.