Ignore:
Timestamp:
Feb 11, 2003, 3:20:01 PM (23 years ago)
Author:
sandervl
Message:

When a window is activated by a mouse click, we must set focus to the client window (and not the frame..)

File:
1 edited

Legend:

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

    r9783 r9785  
    1 /* $Id: win32wbase.cpp,v 1.356 2003-02-10 19:10:22 sandervl Exp $ */
     1/* $Id: win32wbase.cpp,v 1.357 2003-02-11 14:20:01 sandervl Exp $ */
    22/*
    33 * Win32 Window Base Class for OS/2
     
    11821182                    //SvL: Calling OSLibSetActiveWindow(hwndTop); causes focus problems
    11831183                    if (win32top) {
    1184                         OSLibWinSetFocus(win32top->getOS2FrameWindowHandle());
     1184                        //Must use client window handle (not frame!!)
     1185                        OSLibWinSetFocus(win32top->getOS2WindowHandle());
    11851186                        RELEASE_WNDOBJ(win32top);
    11861187                    }
Note: See TracChangeset for help on using the changeset viewer.