Ignore:
Timestamp:
Jan 2, 2000, 8:30:47 PM (26 years ago)
Author:
cbratschi
Message:

* empty log message *

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/user32/new/win32wmdichild.cpp

    r2290 r2292  
    1 /* $Id: win32wmdichild.cpp,v 1.6 2000-01-01 14:57:31 cbratschi Exp $ */
     1/* $Id: win32wmdichild.cpp,v 1.7 2000-01-02 19:30:45 cbratschi Exp $ */
    22/*
    33 * Win32 MDI Child Window Class for OS/2
     
    506506{
    507507    INT  nstagger;
    508     RECT rect = *client->getClientRect();
     508    RECT rect;
    509509    INT  spacing = GetSystemMetrics(SM_CYCAPTION) +
    510510                   GetSystemMetrics(SM_CYFRAME) - 1;
    511511
     512    client->getClientRect(&rect);
    512513    if( rect.bottom - rect.top - delta >= spacing )
    513514        rect.bottom -= delta;
     
    528529{
    529530    Win32MDIClientWindow *client = (Win32MDIClientWindow *)getParent();
    530     RECT rect = *client->getClientRect();
    531 
     531    RECT rect;
     532
     533    getClientRect(&rect);
    532534    if(client->getParent() == NULL) {
    533535        dprintf(("Win32MDIChildWindow::childGetMinMaxInfo:: client parent == NULL!!"));
Note: See TracChangeset for help on using the changeset viewer.