Changeset 7525 for trunk/src


Ignore:
Timestamp:
Dec 2, 2001, 1:22:01 PM (24 years ago)
Author:
sandervl
Message:

don't send WM_SIZE to dialog windows before they receive WM_INITDIALOG

File:
1 edited

Legend:

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

    r7464 r7525  
    1 /* $Id: win32wbase.cpp,v 1.303 2001-11-27 12:33:48 sandervl Exp $ */
     1/* $Id: win32wbase.cpp,v 1.304 2001-12-02 12:22:01 sandervl Exp $ */
    22/*
    33 * Win32 Window Base Class for OS/2
     
    509509    if (cs->dwExStyle & WS_EX_DLGMODALFRAME) dwStyle &= ~WS_THICKFRAME;
    510510
     511    //WinZip 8.0 crashes when a dialog created after opening a zipfile receives
     512    //the WM_SIZE message (before WM_INITDIALOG)
     513    //Opera doesn't like this either.
     514    if(IsDialog()) {
     515        flags |= WIN_NEED_SIZE;
     516    }
     517
    511518    //copy pointer of CREATESTRUCT for usage in MsgCreate method
    512519    tmpcs = cs;
Note: See TracChangeset for help on using the changeset viewer.