- Timestamp:
- Sep 6, 1999, 10:50:35 PM (26 years ago)
- Location:
- trunk/src/user32/new
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/user32/new/win32dlg.cpp
r839 r849 1 /* $Id: win32dlg.cpp,v 1. 6 1999-09-05 17:11:25sandervl Exp $ */1 /* $Id: win32dlg.cpp,v 1.7 1999-09-06 20:50:34 sandervl Exp $ */ 2 2 /* 3 3 * Win32 Dialog Code for OS/2 … … 19 19 #include <win32dlg.h> 20 20 #include "oslibmsg.h" 21 22 #define DEFAULT_DLGFONT "9.WarpSans" 21 23 22 24 //****************************************************************************** … … 68 70 /* The font height must be negative as it is a point size */ 69 71 /* (see CreateFont() documentation in the Windows SDK). */ 72 #if 0 73 hUserFont = CreateFontA(dlgInfo.pointSize, 0, 0, 0, 74 dlgInfo.weight, dlgInfo.italic, FALSE, 75 FALSE, DEFAULT_CHARSET, 0, 0, PROOF_QUALITY, 76 FF_DONTCARE, DEFAULT_DLGFONT); 77 #else 70 78 hUserFont = CreateFontW(dlgInfo.pointSize, 0, 0, 0, 71 79 dlgInfo.weight, dlgInfo.italic, FALSE, 72 80 FALSE, DEFAULT_CHARSET, 0, 0, PROOF_QUALITY, 73 81 FF_DONTCARE, (LPCWSTR)dlgInfo.faceName ); 82 #endif 74 83 if (hUserFont) 75 84 { -
trunk/src/user32/new/win32wbase.cpp
r841 r849 1 /* $Id: win32wbase.cpp,v 1.1 3 1999-09-05 18:32:26sandervl Exp $ */1 /* $Id: win32wbase.cpp,v 1.14 1999-09-06 20:50:35 sandervl Exp $ */ 2 2 /* 3 3 * Win32 Window Base Class for OS/2 … … 385 385 386 386 if(cs->lpszName) 387 SetWindowTextA((LPSTR)cs->lpszName); 387 { 388 if(isUnicode) 389 SetWindowTextW((LPWSTR)cs->lpszName); 390 else SetWindowTextA((LPSTR)cs->lpszName); 391 } 388 392 389 393 OS2Hwnd = OSLibWinCreateWindow((getParent()) ? getParent()->getOS2WindowHandle() : OSLIB_HWND_DESKTOP,
Note:
See TracChangeset
for help on using the changeset viewer.