action invocation for VW compatibility.
authorClaus Gittinger <cg@exept.de>
Sat, 01 Apr 2000 15:03:52 +0200
changeset 2172 411ac4dcf8b4
parent 2171 c78dc6f74a80
child 2173 3d2395e6cc00
action invocation for VW compatibility.
PopUpList.st
--- a/PopUpList.st	Fri Mar 31 13:18:08 2000 +0200
+++ b/PopUpList.st	Sat Apr 01 15:03:52 2000 +0200
@@ -10,6 +10,8 @@
  hereby transferred.
 "
 
+"{ Package: 'stx:libwidg' }"
+
 Button subclass:#PopUpList
 	instanceVariableNames:'menu menuAction values useIndex listMsg defaultLabel listHolder
 		showHandle'
@@ -800,6 +802,9 @@
             (theMenu isKindOf:PopUpMenu) ifFalse:[
                 "/ sigh - brand new ...
                 self sendChangeMessage:changeMsg with:val.
+                menuAction notNil ifTrue:[
+                    menuAction value:val
+                ].
             ].
         ]
     ].
@@ -1044,5 +1049,5 @@
 !PopUpList class methodsFor:'documentation'!
 
 version
-    ^ '$Header: /cvs/stx/stx/libwidg/PopUpList.st,v 1.63 1999-08-18 14:39:18 cg Exp $'
+    ^ '$Header: /cvs/stx/stx/libwidg/PopUpList.st,v 1.64 2000-04-01 13:03:52 cg Exp $'
 ! !