UIGalleryView.st
changeset 3081 feb178704671
parent 2563 c2298d24621d
child 3260 f7b43e21cef8
--- a/UIGalleryView.st	Fri Feb 14 01:24:06 2014 +0100
+++ b/UIGalleryView.st	Tue Feb 18 18:13:27 2014 +0100
@@ -507,7 +507,7 @@
     anEvent isButtonMotionEvent ifTrue:[
         (lastClickPoint notNil and:[anEvent state ~~ 0]) ifTrue:[
             p := Point x:(anEvent x) y:(anEvent y).
-            p := device translatePoint:p fromView:evView toView:self.
+            p := self graphicsDevice translatePoint:p fromView:evView toView:self.
 
             (lastClickPoint dist:p) > 20.0 ifTrue:[
                 self startDragFrom:evView.
@@ -524,7 +524,7 @@
 
         (button == 1 or:[button == #select]) ifTrue:[
             p := Point x:(anEvent x) y:(anEvent y).
-            p := device translatePoint:p fromView:evView toView:self.
+            p := self graphicsDevice translatePoint:p fromView:evView toView:self.
 
             self selection:(self findObjectAt:p).
 
@@ -588,7 +588,7 @@
 
     seeIfWidgetIsHit := 
         [:v |
-            p := device translatePoint:aPoint fromView:self toView:v.
+            p := self graphicsDevice translatePoint:aPoint fromView:self toView:v.
             x := p x.
             y := p y.
 
@@ -781,3 +781,4 @@
 version
     ^ '$Header$'
 ! !
+