fixed: click on a checkToggle (buttonPress event)
authorClaus Gittinger <cg@exept.de>
Fri, 09 Nov 2001 14:58:37 +0100
changeset 2044 8e36106065f0
parent 2043 133a9674bcdf
child 2045 c33134da2d3d
fixed: click on a checkToggle (buttonPress event) fixed: sizeCHanged when a new list is set was missing
DSVColumnView.st
--- a/DSVColumnView.st	Tue Oct 30 15:49:30 2001 +0100
+++ b/DSVColumnView.st	Fri Nov 09 14:58:37 2001 +0100
@@ -964,6 +964,7 @@
     selectionHasChanged ifTrue:[
         self selectionChanged.
     ].
+    self contentsChanged.
 ! !
 
 !DSVColumnView methodsFor:'accessing-visibility'!
@@ -1125,8 +1126,9 @@
     ].
 
     (shown not or:[self sensor hasDamageFor:self]) ifTrue:[
-          self invalidate.
-        ^ self contentsChanged.
+        self invalidate.
+        self contentsChanged.
+        ^ self
     ].
 
     y0 := self yVisibleOfRowNr:start.
@@ -3302,7 +3304,9 @@
 
     self selectColIndex:colNr rowIndex:rowNr.
 
-    (v := self detectViewAt:aPoint in:editView) notNil ifTrue:[
+    ((v := self detectViewAt:aPoint ignoreInvisible:true) notNil 
+    and:[v ~~ self])
+    ifTrue:[
         p := device translatePoint:aPoint fromView:self toView:v.
 
         self sensor pushEvent:(WindowEvent buttonEvent
@@ -3597,5 +3601,5 @@
 !DSVColumnView class methodsFor:'documentation'!
 
 version
-    ^ '$Header: /cvs/stx/stx/libwidg2/DSVColumnView.st,v 1.135 2001-10-12 19:38:07 cg Exp $'
+    ^ '$Header: /cvs/stx/stx/libwidg2/DSVColumnView.st,v 1.136 2001-11-09 13:58:37 cg Exp $'
 ! !