Changeset 1060 for trunk/src


Ignore:
Timestamp:
Sep 26, 1999, 1:09:39 PM (26 years ago)
Author:
sandervl
Message:

Set text + dialog bugfixes

Location:
trunk/src/user32
Files:
2 edited

Legend:

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

    r1005 r1060  
    1 /* $Id: win32dlg.cpp,v 1.3 1999-09-22 08:58:35 sandervl Exp $ */
     1/* $Id: win32dlg.cpp,v 1.4 1999-09-26 11:09:39 sandervl Exp $ */
    22/*
    33 * Win32 Dialog Code for OS/2
     
    197197        /* Send initialisation messages and set focus */
    198198        hwndFocus = GetNextDlgTabItem( getWindowHandle(), 0, FALSE );
     199
     200#if 1
     201        //TODO: SetFocus call messes things up
     202        SendMessageA(WM_INITDIALOG, (WPARAM)hwndFocus, param);
     203#else
     204        if (SendMessageA(WM_INITDIALOG, (WPARAM)hwndFocus, param ))
     205             SetFocus(hwndFocus);
     206#endif
    199207        if (dlgInfo.style & WS_VISIBLE && !(getStyle() & WS_VISIBLE))
    200208        {
  • trunk/src/user32/win32wbase.cpp

    r1057 r1060  
    1 /* $Id: win32wbase.cpp,v 1.14 1999-09-26 10:10:01 sandervl Exp $ */
     1/* $Id: win32wbase.cpp,v 1.15 1999-09-26 11:09:39 sandervl Exp $ */
    22/*
    33 * Win32 Window Base Class for OS/2
     
    397397//    shouldn't we always use a frame? -> no problems with scrollbars
    398398
    399   if(cs->lpszName)
     399  if(HIWORD(cs->lpszName))
    400400  {
    401401        if(isUnicode)
Note: See TracChangeset for help on using the changeset viewer.