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/win32wmdichild.cpp

    r2533 r2657  
    1 /* $Id: win32wmdichild.cpp,v 1.20 2000-01-27 21:50:03 sandervl Exp $ */
     1/* $Id: win32wmdichild.cpp,v 1.21 2000-02-05 14:08:54 sandervl Exp $ */
    22/*
    33 * Win32 MDI Child Window Class for OS/2
     
    361361             * the SWP_SHOWWINDOW command.
    362362             */
    363 //SvL: Not here. This causes problems in OS/2
    364 //            newchild->SetWindowLongA(GWL_STYLE, showflag & ~WS_VISIBLE);
     363            newchild->SetWindowLongA(GWL_STYLE, newchild->getStyle() & ~WS_VISIBLE);
    365364            if(showflag){
    366365                newchild->SetWindowPos(0, 0, 0, 0, 0, SWP_SHOWWINDOW | SWP_NOSIZE | SWP_NOMOVE );
Note: See TracChangeset for help on using the changeset viewer.