Add a SetFocus impl.
git-svn-id: svn://10.0.0.236/trunk@114364 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
parent
0d757b6279
commit
75e0933dc1
@ -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;
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user