Add a SetFocus impl.

git-svn-id: svn://10.0.0.236/trunk@114364 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
hyatt%netscape.com 2002-02-13 02:09:13 +00:00
parent 0d757b6279
commit 75e0933dc1

View File

@ -590,17 +590,9 @@ static Boolean we_are_front_process()
//-------------------------------------------------------------------------
NS_IMETHODIMP nsChildView::SetFocus(PRBool aRaise)
{
#if 0
gEventDispatchHandler.SetFocus(this);
// Here's where we see if there's a notification we need to remove
if (gNotificationInstalled && we_are_front_process())
{
(void)::NMRemove(&gNMRec);
gNotificationInstalled = false;
}
#endif
NSWindow* window = [mView window];
if (window)
[window makeFirstResponder: mView];
return NS_OK;
}