Ignore:
Timestamp:
Oct 30, 1999, 11:19:47 AM (26 years ago)
Author:
sandervl
Message:

EB's unicode changes + seticon + mdi fixes

File:
1 edited

Legend:

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

    r1482 r1513  
    1 /* $Id: window.cpp,v 1.26 1999-10-27 18:25:24 sandervl Exp $ */
     1/* $Id: window.cpp,v 1.27 1999-10-30 09:19:47 sandervl Exp $ */
    22/*
    33 * Win32 window apis for OS/2
     
    4747        return CreateMDIWindowA(className, windowName, style, x, y, width, height, parent, instance, (LPARAM)data);
    4848
     49#if 1
     50    /* Find the class atom */
     51    if (!(classAtom = GlobalFindAtomA(className)))
     52    {
     53       if (!HIWORD(className))
     54           dprintf(("CreateWindowEx32A: bad class name %04x\n",LOWORD(className)));
     55       else
     56           dprintf(("CreateWindowEx32A: bad class name '%s'\n", className));
     57
     58       SetLastError(ERROR_INVALID_PARAMETER);
     59       return 0;
     60    }
     61
     62    if (!HIWORD(className))
     63    {
     64      sprintf(tmpClass,"#%d", (int) className);
     65      className = tmpClass;
     66    }
     67#else
    4968    /* Find the class atom */
    5069    if (!HIWORD(className) || !(classAtom = GlobalFindAtomA(className)))
     
    6786        }
    6887    }
    69 
     88#endif
    7089    /* Create the window */
    7190    cs.lpCreateParams = data;
Note: See TracChangeset for help on using the changeset viewer.