Ignore:
Timestamp:
Sep 4, 2000, 8:23:58 PM (25 years ago)
Author:
sandervl
Message:

SetWindowLong changes + fixes for GWL_WNDPROC

File:
1 edited

Legend:

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

    r4147 r4188  
    1 /* $Id: window.cpp,v 1.73 2000-09-02 08:30:11 sandervl Exp $ */
     1/* $Id: window.cpp,v 1.74 2000-09-04 18:23:58 sandervl Exp $ */
    22/*
    33 * Win32 window apis for OS/2
     
    802802        return 0;
    803803    }
    804     dprintf(("GetWindowTextW %x", hwnd));
     804#ifdef DEBUG
     805    int rc = window->GetWindowTextW(lpsz, cch);
     806    if(rc) {
     807        LPSTR astring = UnicodeToAsciiString(lpsz);
     808        dprintf(("GetWindowTextW %x %s", hwnd, lpsz));
     809        free(astring);
     810    }
     811    else dprintf(("GetWindowTextW %x returned %d", hwnd, rc));
     812    return rc;
     813#else
    805814    return window->GetWindowTextW(lpsz, cch);
     815#endif
    806816}
    807817//******************************************************************************
     
    832842        return 0;
    833843    }
    834     dprintf(("SetWindowTextW %x", hwnd));
     844#ifdef DEBUG
     845    LPSTR astring = UnicodeToAsciiString(lpsz);
     846    dprintf(("SetWindowTextW %x %s", hwnd, astring));
     847    free(astring);
     848    if(hwnd == 0x68000008) {
     849        int i;
     850        i = 5;
     851    }
     852#endif
    835853    return window->SetWindowTextW((LPWSTR)lpsz);
    836854}
Note: See TracChangeset for help on using the changeset viewer.