mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-04-23 02:10:48 +00:00
All is cool, some fixes to NSTabView.m and GNUstepInstaller.m.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@4656 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
3e619beded
commit
873548a922
1 changed files with 4 additions and 2 deletions
|
@ -235,7 +235,7 @@
|
|||
|
||||
- (NSRect)contentRect
|
||||
{
|
||||
NSRect cRect = [self frame];
|
||||
NSRect cRect = [self bounds];
|
||||
|
||||
cRect.origin.x = 0;
|
||||
cRect.origin.y = 0;
|
||||
|
@ -259,6 +259,8 @@
|
|||
NSRect previousRect;
|
||||
int previousState = 0;
|
||||
|
||||
rect = NSIntersectionRect(bounds, rect);
|
||||
|
||||
DPSgsave(ctxt);
|
||||
|
||||
switch (tab_type) {
|
||||
|
@ -283,7 +285,7 @@
|
|||
if (!tab_selected)
|
||||
[self selectFirstTabViewItem:nil];
|
||||
|
||||
if (tab_type == NSNoTabsBezelBorder)
|
||||
if (tab_type == NSNoTabsBezelBorder || tab_type == NSNoTabsLineBorder)
|
||||
{
|
||||
DPSgrestore(ctxt);
|
||||
return;
|
||||
|
|
Loading…
Reference in a new issue