Ignore:
Timestamp:
Feb 14, 2000, 6:30:11 PM (26 years ago)
Author:
cbratschi
Message:

merged combobox with core 20000212

File:
1 edited

Legend:

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

    r2697 r2781  
    1 /* $Id: win32wbase.cpp,v 1.160 2000-02-09 13:42:38 sandervl Exp $ */
     1/* $Id: win32wbase.cpp,v 1.161 2000-02-14 17:30:11 cbratschi Exp $ */
    22/*
    33 * Win32 Window Base Class for OS/2
     
    334334        fCXDefault = TRUE;
    335335  }
     336  if (cs->style & (WS_POPUP | WS_CHILD))
     337  {
     338    fXDefault = FALSE;
     339    if (fCXDefault)
     340    {
     341      fCXDefault = FALSE;
     342      cs->cx = cs->cy = 0;
     343    }
     344  }
    336345  if (fXDefault && !fCXDefault) fXDefault = FALSE; //CB: only x positioning doesn't work (calc.exe,cdrlabel.exe)
    337346
     
    13521361    {
    13531362        dprintf(("DefWndProc: WM_SETCURSOR for %x Msg %s", Win32Hwnd, GetMsgText(HIWORD(lParam))));
    1354         if(getStyle() & WS_CHILD && !(getExStyle() & WS_EX_NOPARENTNOTIFY) )
     1363        if((getStyle() & WS_CHILD) && !(getExStyle() & WS_EX_NOPARENTNOTIFY))
    13551364        {
    13561365            if(getParent()) {
Note: See TracChangeset for help on using the changeset viewer.