Ignore:
Timestamp:
Jan 1, 2003, 3:29:45 PM (23 years ago)
Author:
sandervl
Message:

Fixes for windows with an iconless class and WS_EX_DLGMODALFRAME style. (they shouldn't have a system menu)

File:
1 edited

Legend:

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

    r9572 r9575  
    1 /* $Id: win32wbase.cpp,v 1.348 2002-12-31 16:52:00 sandervl Exp $ */
     1/* $Id: win32wbase.cpp,v 1.349 2003-01-01 14:29:44 sandervl Exp $ */
    22/*
    33 * Win32 Window Base Class for OS/2
     
    13741374      OSLibWinPositionFrameControls(getOS2FrameWindowHandle(), &rectOS2,
    13751375                                    dwStyle, dwExStyle, IconForWindow(ICON_SMALL),
    1376                                     fCloseButton);
     1376                                    fCloseButton, windowClass->getIcon() != NULL);
    13771377  }
    13781378  return rc;
     
    37123712                setStyle(ss.styleNew);
    37133713                SendMessageA(getWindowHandle(),WM_STYLECHANGED,GWL_STYLE,(LPARAM)&ss);
    3714                 OSLibSetWindowStyle(getOS2FrameWindowHandle(), getOS2WindowHandle(), getStyle(), getExStyle());
     3714                OSLibSetWindowStyle(getOS2FrameWindowHandle(), getOS2WindowHandle(),
     3715                                    getStyle(), getExStyle());
    37153716
    37163717                //TODO: Might not be correct to use ShowWindow here
Note: See TracChangeset for help on using the changeset viewer.