mirror of
https://github.com/Stichting-MINIX-Research-Foundation/pkgsrc-ng.git
synced 2025-08-03 17:59:07 -04:00
24 lines
721 B
Plaintext
24 lines
721 B
Plaintext
$NetBSD: patch-ab,v 1.2 2012/10/22 23:47:15 rh Exp $
|
|
|
|
Make this work with recent versions of GNUstep.
|
|
|
|
--- WorkInProgress.m.orig 2005-05-12 15:58:49.000000000 +0000
|
|
+++ WorkInProgress.m
|
|
@@ -23,6 +23,7 @@
|
|
|
|
#include <Foundation/Foundation.h>
|
|
#include <AppKit/AppKit.h>
|
|
+#include <GNUstepGUI/GSTheme.h>
|
|
|
|
#include "Functions.h"
|
|
#include "Constants.h"
|
|
@@ -77,7 +78,7 @@ static NSString *nibName = @"WorkInProgr
|
|
[super drawRect: rect];
|
|
|
|
// Calculate the inside rect to be drawn
|
|
- NSSize borderSize = _sizeForBorderType (NSBezelBorder);
|
|
+ NSSize borderSize = [[GSTheme theme] sizeForBorderType: NSBezelBorder];
|
|
r = NSInsetRect(_bounds, borderSize.width, borderSize.height);
|
|
|
|
value = [self doubleValue];
|