Changeset 2214 for trunk/src


Ignore:
Timestamp:
Dec 27, 1999, 7:43:42 PM (26 years ago)
Author:
sandervl
Message:

VT's codepage changes + combo bugfixes

Location:
trunk/src/user32
Files:
2 edited

Legend:

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

    r2185 r2214  
    1 /* $Id: combo.cpp,v 1.20 1999-12-21 17:03:43 cbratschi Exp $ */
     1/* $Id: combo.cpp,v 1.21 1999-12-27 18:43:41 sandervl Exp $ */
    22/*
    33 * Combo controls
     
    12721272   LPHEADCOMBO lphc = (LPHEADCOMBO)GetInfoPtr(hwnd);
    12731273
    1274    if ( lphc->wState & CBF_EDIT && lphc->hWndEdit == hwnd )
     1274   if ( lphc->wState & CBF_EDIT && lphc->hWndEdit == lParam )
    12751275   {
    12761276       /* ">> 8" makes gcc generate jump-table instead of cmp ladder */
     
    13291329       }
    13301330   }
    1331    else if( lphc->hWndLBox == hwnd )
     1331   else if( lphc->hWndLBox == lParam )
    13321332   {
    13331333       switch( HIWORD(wParam) )
  • trunk/src/user32/pmwindow.cpp

    r2208 r2214  
    1 /* $Id: pmwindow.cpp,v 1.71 1999-12-27 14:41:42 sandervl Exp $ */
     1/* $Id: pmwindow.cpp,v 1.72 1999-12-27 18:43:42 sandervl Exp $ */
    22/*
    33 * Win32 Window Managment Code for OS/2
     
    3636#include "caret.h"
    3737#include "timer.h"
     38#include <codepage.h>
    3839
    3940HMQ  hmq = 0;                             /* Message queue handle         */
     
    8485  dprintf(("InitPM: hmq = %x", hmq));
    8586  SetThreadMessageQueue(hmq);
     87
     88  BOOL rc = WinSetCp(hmq, GetDisplayCodepage());
     89  dprintf(("InitPM: WinSetCP was %sOK", rc ? "" : "not "));
    8690
    8791  if(!WinRegisterClass(                 /* Register window class        */
Note: See TracChangeset for help on using the changeset viewer.