mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-04-23 06:51:44 +00:00
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:
parent
2ed0ec270e
commit
36e5bff453
1 changed files with 4 additions and 5 deletions
|
@ -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])
|
||||
|
|
Loading…
Reference in a new issue