Removed commented out lines.

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@19542 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Fred Kiefer 2004-06-18 00:02:32 +00:00
parent 2ed0ec270e
commit 36e5bff453

View file

@ -1345,8 +1345,7 @@ static inline NSRect buttonCellFrameFromRect(NSRect cellRect)
- (void) drawWithFrame:(NSRect)cellFrame inView:(NSView *)controlView
{
// NSRect rect = NSMakeRect(cellFrame.origin.x, cellFrame.origin.y, cellFrame.size.width, ComboBoxHeight);
NSRect rect = cellFrame;
NSRect rect = cellFrame;
// FIX ME: Is this test case below with the method call really needed ?
if ([GSCurrentContext() isDrawingToScreen])
@ -1361,15 +1360,15 @@ static inline NSRect buttonCellFrameFromRect(NSRect cellRect)
[super drawWithFrame: rect inView: controlView];
}
_lastValidFrame = cellFrame; // Used by GSComboWindow to appear in the right position
// Used by GSComboWindow to appear in the right position
_lastValidFrame = cellFrame;
}
- (void) highlight: (BOOL)flag
withFrame: (NSRect)cellFrame
inView: (NSView *)controlView
{
// NSRect rect = NSMakeRect(cellFrame.origin.x, cellFrame.origin.y, cellFrame.size.width, ComboBoxHeight);
NSRect rect = cellFrame;
NSRect rect = cellFrame;
// FIX ME: Is this test case below with the method call really needed ?
if ([GSCurrentContext() isDrawingToScreen])