Ignore:
Timestamp:
Apr 15, 2001, 7:05:29 PM (24 years ago)
Author:
sandervl
Message:

SetWindowLong fix for GWL_STYLE & childchildren/siblings

File:
1 edited

Legend:

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

    r5496 r5512  
    1 /* $Id: win32wbase.cpp,v 1.250 2001-04-12 14:04:32 sandervl Exp $ */
     1/* $Id: win32wbase.cpp,v 1.251 2001-04-15 17:05:29 sandervl Exp $ */
    22/*
    33 * Win32 Window Base Class for OS/2
     
    15811581      int rc;
    15821582
     1583        if(getWindowHandle() == 0x68000044) {
     1584          rc = GetClipBox( (HDC)wParam, &rect );
     1585          FillRect( (HDC)wParam, &rect, GetSysColorBrush(COLOR_WINDOWTEXT));
     1586          return 1;
     1587        }
     1588       
    15831589        if (!windowClass || !windowClass->getBackgroundBrush()) return 0;
    15841590
     
    34433449                setStyle(ss.styleNew);
    34443450                SendInternalMessageA(WM_STYLECHANGED,GWL_STYLE,(LPARAM)&ss);
    3445 ////                OSLibSetWindowStyle(getOS2WindowHandle(), getStyle(), getExStyle(),
    3446 ////                                    windowClass->getStyle() & CS_SAVEBITS);
     3451                OSLibSetWindowStyle(getOS2WindowHandle(), getStyle(), getExStyle());
    34473452#ifdef DEBUG
    34483453                PrintWindowStyle(ss.styleNew, 0);
Note: See TracChangeset for help on using the changeset viewer.