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

Set text + dialog bugfixes

File:
1 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        {
Note: See TracChangeset for help on using the changeset viewer.