Ignore:
Timestamp:
Jan 8, 2000, 3:15:38 PM (26 years ago)
Author:
sandervl
Message:

OSLibGetMsg bugfix + WM_QUIT translation fix

File:
1 edited

Legend:

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

    r2257 r2371  
    1 /* $Id: pmwindow.cpp,v 1.74 1999-12-29 22:54:02 cbratschi Exp $ */
     1/* $Id: pmwindow.cpp,v 1.75 2000-01-08 14:15:07 sandervl Exp $ */
    22/*
    33 * Win32 Window Managment Code for OS/2
     
    3737#include "timer.h"
    3838#include <codepage.h>
     39#include <win\options.h>
    3940
    4041HMQ  hmq = 0;                             /* Message queue handle         */
     
    4546ULONG ScreenHeight = 0;
    4647ULONG ScreenBitsPerPel = 0;
     48BOOL  fOS2Look = TRUE;
    4749
    4850
     
    7173            return(FALSE);
    7274        }
    73     else
     75        else
    7476        {
    75         if(!hab) {
    76                 hab = WinQueryAnchorBlock(HWND_DESKTOP);
    77             dprintf(("WinQueryAnchorBlock returned %x", hab));
    78         }
    79         if(!hmq) {
    80             hmq = HMQ_CURRENT;
    81         }
    82         }
     77            if(!hab) {
     78                    hab = WinQueryAnchorBlock(HWND_DESKTOP);
     79                    dprintf(("WinQueryAnchorBlock returned %x", hab));
     80            }
     81            if(!hmq) {
     82                hmq = HMQ_CURRENT;
     83            }
     84    }
    8385  }
    8486  SetThreadHAB(hab);
     
    9395     (PSZ)WIN32_STDCLASS,               /* Window class name            */
    9496     (PFNWP)Win32WindowProc,            /* Address of window procedure  */
    95 //     CS_SIZEREDRAW | CS_HITTEST | CS_MOVENOTIFY,
    96      //CS_SIZEREDRAW | CS_HITTEST,
    9797     CS_HITTEST,
    9898     NROF_WIN32WNDBYTES)) {
     
    130130
    131131   dprintf(("InitPM: Desktop (%d,%d)", ScreenWidth, ScreenHeight));
     132
     133   fOS2Look = PROFILE_GetOdinIniInt(ODINCUSTOMIZATION,"OS2Look",1);
     134
    132135   return OSLibInitMsgQueue();
    133136} /* End of main */
Note: See TracChangeset for help on using the changeset viewer.