Ignore:
Timestamp:
Dec 12, 2001, 5:40:45 PM (24 years ago)
Author:
sandervl
Message:

SendInput fix + handle Alt-F4 in default window handler

File:
1 edited

Legend:

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

    r7525 r7620  
    1 /* $Id: win32wbase.cpp,v 1.304 2001-12-02 12:22:01 sandervl Exp $ */
     1/* $Id: win32wbase.cpp,v 1.305 2001-12-12 16:40:44 sandervl Exp $ */
    22/*
    33 * Win32 Window Base Class for OS/2
     
    18121812            if( wParam == VK_F4 )       /* try to close the window */
    18131813            {
    1814                 HWND top = GetTopWindow();
     1814                HWND top = GetTopParent();
    18151815                if (!(GetClassLongW( top, GCL_STYLE ) & CS_NOCLOSE))
    18161816                    PostMessageW( top, WM_SYSCOMMAND, SC_CLOSE, 0 );
Note: See TracChangeset for help on using the changeset viewer.