bug-gnustep
[Top][All Lists]
Advanced

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

[PATCH] optimize sizeToFit calls in NSMenuView for NSPopUps


From: Michael Hanni
Subject: [PATCH] optimize sizeToFit calls in NSMenuView for NSPopUps
Date: 2003年3月25日 01:27:46 -0800 (PST)

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 <michael@deviant-behavior.com>
 * Source/NSMenuView (setWindowFrameForAttachingToRect:): optimize our
 usage of sizeToFit.

Attachment: NSMenuView-pop-opt.patch
Description: NSMenuView-pop-opt.patch


reply via email to

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

AltStyle によって変換されたページ (->オリジナル) /