*** /cvs/gnustep/core/gui/Source/NSWindow.m	Tue Mar 23 05:23:09 2004
--- NSWindow.m	Tue Mar 23 07:21:56 2004
***************
*** 2576,2582 ****
      {
        if (_defaultButtonCell && _f.default_button_cell_key_disabled == NO)
  	{
! 	  [_defaultButtonCell performClick: self];
  	  return;
  	}
      }
--- 2576,2588 ----
      {
        if (_defaultButtonCell && _f.default_button_cell_key_disabled == NO)
  	{
! 	  NSView *controlView = [_defaultButtonCell controlView];
! 	  
! 	  [_defaultButtonCell performClickWithFrame: [controlView bounds]
! 	                                     inView: controlView];
! 	  // Issue : we doesn't support _defaultButtonCell with frame smaller
! 	  // than controlView bounds, probably we should set the default button
! 	  // and not the default button cell for  NSWindow.
  	  return;
  	}
      }
