Kaydet (Commit) 2edd967c authored tarafından Stephan Wunderlich's avatar Stephan Wunderlich

CHG: fixed getIndexAt

üst 00c61845
...@@ -2,9 +2,9 @@ ...@@ -2,9 +2,9 @@
* *
* $RCSfile: _XAccessibleText.java,v $ * $RCSfile: _XAccessibleText.java,v $
* *
* $Revision: 1.6 $ * $Revision: 1.7 $
* *
* last change:$Date: 2003-03-31 12:43:47 $ * last change:$Date: 2003-03-31 12:53:50 $
* *
* The Contents of this file are made available subject to the terms of * The Contents of this file are made available subject to the terms of
* either of the following licenses * either of the following licenses
...@@ -445,7 +445,7 @@ public class _XAccessibleText extends MultiMethodTest { ...@@ -445,7 +445,7 @@ public class _XAccessibleText extends MultiMethodTest {
} }
int x = aRect.X+aRect.Width/2; int x = aRect.X+aRect.Width/2;
int y = aRect.Height/2; int y = aRect.Y+aRect.Height/2;
Point aPoint = new Point( x,y); Point aPoint = new Point( x,y);
int nIndex = oObj.getIndexAtPoint( aPoint ); int nIndex = oObj.getIndexAtPoint( aPoint );
if ( nIndex != i ) if ( nIndex != i )
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment