Changeset 31

Show
Ignore:
Timestamp:
02/21/08 17:44:54 (7 months ago)
Author:
Chris Miller
Message:

Minor change.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/win32/dfl/control.d

    r30 r31  
    13941394            return false; 
    13951395         
    1396         return IsChild(hwnd, GetFocus()) != FALSE; 
     1396        HWND hwfocus = GetFocus(); 
     1397        return hwfocus == hwnd || IsChild(hwnd, hwfocus); 
    13971398    } 
    13981399     
     
    38643865     
    38653866     
     3867    // Only considers child controls of this control. 
    38663868    final void selectNextControl(Control ctrl, bool forward, bool tabStopOnly, bool nested, bool wrap) 
    38673869    {