Hi, The current code in NSMenuView -setWindowFrameForAttachingToRect: forces a call to sizeToFit everytime a popupbutton's menuwindow is called for. This patch skips the sizeToFit call if nothing has changed, e.g. almost every time you activate the popupbutton.
2003-3-24 Michael Hanni <[EMAIL PROTECTED]>
* Source/NSMenuView (setWindowFrameForAttachingToRect:): optimize our
usage of sizeToFit.
NSMenuView-pop-opt.patch
Description: NSMenuView-pop-opt.patch
_______________________________________________ Bug-gnustep mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/bug-gnustep
