Ignore:
Timestamp:
Feb 23, 2001, 3:52:42 PM (25 years ago)
Author:
sandervl
Message:

mdi, setcursor, min/max/restore, dlglist changes

File:
1 edited

Legend:

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

    r5246 r5258  
    1 /* $Id: win32wbasepos.cpp,v 1.21 2001-02-22 18:18:59 sandervl Exp $ */
     1/* $Id: win32wbasepos.cpp,v 1.22 2001-02-23 14:52:42 sandervl Exp $ */
    22/*
    33 * Win32 Window Base Class for OS/2 (nonclient/position methods)
     
    224224    hwndParent = GetParent(hwnd);
    225225    if(hwndParent == 0) {
    226         DebugInt3();
     226        dprintf(("WINPOS_FindIconPos: no parent found for window %x", hwnd));
    227227        return;
    228228    }
     
    269269            if (!hwndChild) /* No window was found, so it's OK for us */
    270270            {
    271                         pt.x = x + (xspacing - GetSystemMetrics(SM_CXICON)) / 2;
    272                         pt.y = y - (yspacing + GetSystemMetrics(SM_CYICON)) / 2;
    273                         return;
    274             }
    275                 x += xspacing;
     271                pt.x = x + (xspacing - GetSystemMetrics(SM_CXICON)) / 2;
     272                pt.y = y - (yspacing + GetSystemMetrics(SM_CYICON)) / 2;
     273                return;
     274            }
     275            x += xspacing;
    276276        } while(x <= rectParent.right-xspacing);
    277277
Note: See TracChangeset for help on using the changeset viewer.