$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];
