Changeset 6436 for trunk/src


Ignore:
Timestamp:
Aug 2, 2001, 4:49:31 PM (24 years ago)
Author:
sandervl
Message:

Set codepage of DC returned by CreateDCA

Location:
trunk/src/gdi32
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/gdi32/gdi32.DEF

    r5810 r6436  
    1 ; $Id: gdi32.DEF,v 1.17 2001-05-27 19:01:14 sandervl Exp $
     1; $Id: gdi32.DEF,v 1.18 2001-08-02 14:49:31 sandervl Exp $
    22
    33;Created by BLAST for IBM's compiler
     
    374374
    375375    _UnselectGDIObjects@4                                       @1212 NONAME
    376 
     376   
     377    OSLibGpiSetCp__FUlT1                                        @1213 NONAME
     378
  • trunk/src/gdi32/gdi32.cpp

    r6331 r6436  
    1 /* $Id: gdi32.cpp,v 1.74 2001-07-14 15:31:41 sandervl Exp $ */
     1/* $Id: gdi32.cpp,v 1.75 2001-08-02 14:49:31 sandervl Exp $ */
    22
    33/*
     
    341341
    342342    hdc = O32_CreateDC(lpszDriver, lpszDevice, lpszOutput, lpInitData);
     343    if(hdc) {
     344        OSLibGpiSetCp(hdc, GetDisplayCodepage());
     345    }
     346
    343347    dprintf(("GDI32: CreateDCA %s %s %s %x returned %x", lpszDriver, lpszDevice, lpszOutput, lpInitData, hdc));
    344348    return hdc;
Note: See TracChangeset for help on using the changeset viewer.