bug-gnustep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

NSPanel can't set itself as its delegate ?


From: Yen-Ju Chen
Subject: NSPanel can't set itself as its delegate ?
Date: Wed, 26 Mar 2003 14:20:39 -0500


 Don't know it is a bug or I did a stupid thing.
 But I found that if I set the delegate of NSPanel itself,
 it will use up all the resource and die.

 For example:
 @implementation MyPanel : NSPanel
 - (id) init
 {
   self = [super initWithContentRect....];
   /* Add subviews */
   [self setDelegate: self];
   return self;
 }

 It will die only after the content view is clicked.
 Maybe this should go to the document.

 Yen-Ju

_________________________________________________________________
Protect your PC - get McAfee.com VirusScan Online http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963





reply via email to

[Prev in Thread] Current Thread [Next in Thread]