Ignore:
Timestamp:
Apr 2, 2001, 12:13:28 AM (24 years ago)
Author:
sandervl
Message:

create dialog controls with CreateWindowExW; use correct SendMessage during CreateWindow

File:
1 edited

Legend:

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

    r5428 r5429  
    1 /* $Id: windowclass.cpp,v 1.18 2001-04-01 19:38:51 sandervl Exp $ */
     1/* $Id: windowclass.cpp,v 1.19 2001-04-01 22:13:28 sandervl Exp $ */
    22/*
    33 * Win32 Window Class Code for OS/2
     
    4646 Win32WndClass *wclass;
    4747
    48     dprintf(("RegisterClassA\n"));
    4948    //CB: size new in ex structure
    5049    wc.cbSize = sizeof(wc);
     
    6261
    6362    //TODO: not destroyed when class is unregistered (neither does Wine, but that might be a bug)
     63    dprintf(("RegisterClassA"));
    6464    int iSmIconWidth  = GetSystemMetrics(SM_CXSMICON);
    6565    int iSmIconHeight = GetSystemMetrics(SM_CYSMICON);
     
    9292    }
    9393
    94     dprintf(("RegisterClassExA\n"));
     94    dprintf(("RegisterClassExA"));
    9595    wclass = new Win32WndClass((WNDCLASSEXA *)lpWndClass,FALSE);
    9696    if(wclass == NULL) {
     
    130130                           LR_COPYFROMRESOURCE);
    131131
     132    dprintf(("RegisterClassW"));
    132133    winclass = new Win32WndClass((WNDCLASSEXA *)&wc, TRUE);
    133134    if(winclass == NULL) {
     
    149150 Win32WndClass *winclass;
    150151
    151     dprintf(("RegisterClassExW\n"));
    152152    memcpy(&wc, lpwc, sizeof(WNDCLASSEXA));
    153153
     
    161161    }
    162162
     163    dprintf(("RegisterClassExW"));
    163164    winclass = new Win32WndClass((WNDCLASSEXA *)&wc, TRUE);
    164165    if(winclass == NULL) {
Note: See TracChangeset for help on using the changeset viewer.