Ignore:
Timestamp:
Sep 6, 1999, 10:50:35 PM (26 years ago)
Author:
sandervl
Message:

Window text + dialog fixes

File:
1 edited

Legend:

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

    r841 r849  
    1 /* $Id: win32wbase.cpp,v 1.13 1999-09-05 18:32:26 sandervl Exp $ */
     1/* $Id: win32wbase.cpp,v 1.14 1999-09-06 20:50:35 sandervl Exp $ */
    22/*
    33 * Win32 Window Base Class for OS/2
     
    385385
    386386  if(cs->lpszName)
    387         SetWindowTextA((LPSTR)cs->lpszName);
     387  {
     388        if(isUnicode)
     389                SetWindowTextW((LPWSTR)cs->lpszName);
     390        else    SetWindowTextA((LPSTR)cs->lpszName);
     391  }
    388392
    389393  OS2Hwnd = OSLibWinCreateWindow((getParent()) ? getParent()->getOS2WindowHandle() : OSLIB_HWND_DESKTOP,
Note: See TracChangeset for help on using the changeset viewer.