summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIan C <ianc@noddybox.co.uk>2006-09-03 00:18:56 +0000
committerIan C <ianc@noddybox.co.uk>2006-09-03 00:18:56 +0000
commit35f6d31dd294d1736ef3913370dc5c35d4b97d54 (patch)
tree19cb7cf7b9cc7c4d0d4303b765b6383959e3b614
parent7f63cfa0d7da1b9d98e21dd08d4981975b31a7ac (diff)
Updated for BlitzMAX 1.22
-rw-r--r--mwidget.mod/mwidget.bmx2
1 files changed, 1 insertions, 1 deletions
diff --git a/mwidget.mod/mwidget.bmx b/mwidget.mod/mwidget.bmx
index 90d3d6f..c0b7521 100644
--- a/mwidget.mod/mwidget.bmx
+++ b/mwidget.mod/mwidget.bmx
@@ -2124,7 +2124,7 @@ Type TMMenu
bbdoc: Clear all items from the menu
EndRem
Method Clear()
- For Local m:TMenuItem=EachIn map
+ For Local m:TMenuItem=EachIn TMapEnumerator(MapValues(map))
FreeMenu(m.gadget)
Static.DeregisterMenuItem(m)
Next