WinWorkstation.st
changeset 5672 83db41f399c9
parent 5671 e8f727199c80
child 5708 549499c89f59
--- a/WinWorkstation.st	Wed Dec 22 11:52:35 2010 +0100
+++ b/WinWorkstation.st	Fri Dec 24 11:26:51 2010 +0100
@@ -6397,6 +6397,12 @@
 %}
 !
 
+deviceContext
+    ^ rootDC
+
+    "Created: / 24-12-2010 / 10:44:40 / cg"
+!
+
 displayFileDescriptor
     "return the displays fileNumber for select, if any"
 
@@ -7276,6 +7282,12 @@
     "Modified: / 08-09-2006 / 15:39:24 / cg"
 !
 
+getDeviceCaps:hdc index:index
+    <apicall: int "GetDeviceCaps" (handle int) module: "gdi32.dll" >
+
+    "Created: / 24-12-2010 / 11:14:59 / cg"
+!
+
 iconSizes
     "Get the preferred/supported icon sizes."
 
@@ -18962,11 +18974,11 @@
 !WinWorkstation class methodsFor:'documentation'!
 
 version
-    ^ '$Header: /cvs/stx/stx/libview/WinWorkstation.st,v 1.450 2010-12-22 10:52:35 cg Exp $'
+    ^ '$Header: /cvs/stx/stx/libview/WinWorkstation.st,v 1.451 2010-12-24 10:26:51 cg Exp $'
 !
 
 version_CVS
-    ^ '$Header: /cvs/stx/stx/libview/WinWorkstation.st,v 1.450 2010-12-22 10:52:35 cg Exp $'
+    ^ '$Header: /cvs/stx/stx/libview/WinWorkstation.st,v 1.451 2010-12-24 10:26:51 cg Exp $'
 ! !
 
 WinWorkstation initialize!